Rtsp Youtube Link

RTSP youtube link

I found this blog entry, maybe its a starting point. If you follow on of the <id> links you get another format where you should find the rtsp link.

EDIT:
after going through what WarrenFaith posted. PROPS TO HIM

this is how you get a rtsp link.

  1. make a request

    • http://gdata.youtube.com/feeds/mobile/videos/VIDEO_ID
  2. parse that data for the 3gp content

    • It also provides you with the rating and all that good stuff that you may want.

hope that helps you guys

Android Java Youtube API v3.0 get video RTSP link

Try with this url

String ytInfoUrl="http://www.youtube.com/get_video_info?video_id=" + youtubeID + "&eurl="
+ URLEncoder.encode("https://youtube.googleapis.com/v/" + youtubeID, "UTF-8");

Open this using a HttpGet extract the RTSP urls from that info response.

edit

You can use this link for extracting the RTSP links https://github.com/flipstudio/YouTubeExtractor/blob/master/src/main/java/com/flipstudio/youtube/extractor/YouTubeExtractor.java

edit

A lot have been changed please use this project for proper extraction https://github.com/HaarigerHarald/android-youtubeExtractor/blob/master/youtubeExtractor/src/main/java/at/huber/youtubeExtractor/YouTubeExtractor.java

How to get RTSP Links Android

I got my answer ..thanx to this

Element rsp = (Element)entry.getElementsByTagName("media:content").item(1);

String anotherurl=rsp.getAttribute("url");

In gdata api only we are getting this type of links : rtsp://v3.cache7.c.youtube.com/CiILENy73wIaGQlOCTh0GvUeYRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp

These are playing in VideoView.



Related Topics



Leave a reply



Submit