Hi Harish,
Thanks for the reply. I have tried using MediaPlayer and VideoView on both
Emulator and G1 Device, both fails to play the RTSP URL. They fail saying
PVMFFailure in PLAYER_INIT state.
Regarding m.youtube.com, in G1 device it launches Youtube app it uses a
"hacking" way to get the playback url (i.e., http path to mp4 file not rtsp)
and play. We can check this using logcat. I have already implemented this
hacking way but I am not satisified with this. I want to do it in a RTSP way
which is recommended by Google in its Terms & Conditions page of Youtube.

With Regards
Vinayakumara T V

On Sat, Aug 1, 2009 at 3:42 PM, Harishkumar V <[email protected]>wrote:

> Hi,
>
> android already has rtsp support.
>
> using mediaplayer or videoview demo example given along with android sdk, u
> can play only local media files or over the http streaming.
>
> if u want to test the video streamed over rtsp, try from m.youtube.com in
> the browser.
>
> Thanks and Regards,
> HarishKumar.V
>
>
> On Sat, Aug 1, 2009 at 11:34 AM, Vinay <[email protected]> wrote:
>
>>
>> Hi,
>> I am working on making RTSP url to work on Android.
>>
>> 1. I have used MediaPlayer and VideoView to play the RTSP url but both
>> of them fail to play in G1 Device and emulator. Error is
>> PVMFFailureiin PLAYER_INIT.
>>
>> 2. So I thought of implementing a RTSP client from scratch. I have
>> developed a small application, it exchanges all the messages
>> (DESCRIBE, SETUP, PLAY, TEARDOWN). But the problem is after PLAY, I
>> should receive the RTP packets at client_port as mentioned in
>> Transport header but TCP dump shows the following messages. I think
>> UDP packets are coming but not received at the application.
>>
>> 11:38:50.213394 IP ew-in-f177.google.com.6970 > 192.168.1.2.6970: UDP,
>> length 444
>> 11:38:50.213451 IP 192.168.1.2 > ew-in-f177.google.com: ICMP
>> 192.168.1.2 udp port 6970 unreachable, length 36
>>
>> Please let me know how to solve this issue.
>>
>> With Regards
>> Vinayakumara T V
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to