I'd like to play a RTP stream in an Android VideoView. I create the stream with gstreamer on a linux machine and fire the rtp stream to a udp sink.
Is it possible to consume this stream in an Android VideoView without having a RTSP server?
I tried to set the video URI to "rtp://:@" but then I got an error "Video could not be played". I also thought about creating an SDP file and using that on the Android device. But I'm not sure if this works and how to create such a file.
Thanks
http://developer.android.com/guide/appendix/media-formats.html
Above link is first stop for what is support or no.
As it says rtp only in conjunction with sdp as per rtsp spec.
No can't do naked rtp stream in base android.
Try porting some lib like live555 if you must have naked rtp.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With