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.
- make a request
- http://gdata.youtube.com/feeds/mobile/videos/VIDEO_ID
- 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
Fab Animation with Viewpager/Tabslider
Bitmapdrawable Deprecated Alternative
How to Debug on a Real Device (Using Eclipse/Adt)
Android Viewpager Padding/Margin Between Page Fragments
Handle Screen Orientation Changes When There Are Asynctasks Running
Upload Photo Using Httppost Multipartentitybuilder
Db File in Assets Folder. Will It Be Updated
Remove Android Default Action Bar
Margins of a Linearlayout, Programmatically with Dp
Change Button Text and Action - Android Development
How to Find Out Carrier's Name in Android
User Does Not Have Permission to Access This Object . Firebase Storage Android
How to Place App Icon on Launcher Home Screen