Hi,
Assume
Wowza re-streams IP camera.
Wowza is configured to stream RTSP/RTP.
UDP ports are opened.
Wowza Media server and Android device are on the same LAN (there are no problems with firewall).
RTSP stream from Wowza uses UPD ports (checked with VLC).
For test we use Google friendly devices: Nexus S, Nexus 4
But native Android Media player fails with error 100,0.
Java code for Media Player is taken from the Google SDK samples.
Another Android player (BSPlayer) plays the same stream.
Please provide some light on this issue.
Sam, I believe android only supports h264 video and AAC audio encoding using RTSP
Salvadore
Video is H.264 and no audio.
Does your camera support RTSP/RTP interleaved (RTP over TCP)? If not you need to change the RTPTransportMode value from interleave to udp:
<MediaCaster>
<RTP>
<RTSP>
<!-- udp, interleave -->
<RTPTransportMode>interleave</RTPTransportMode>
</RTSP>
</RTP>
<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this application -->
<Properties>
</Properties>
</MediaCaster>
I just found this in the trouble shooting documentation:
Android does not support RTSP/RTP interleaved (RTP over TCP). This means if UDP is unavailable for RTP playback, RTP over TCP will not work as a failover and your stream will not play
Salvadore
Hi,
Wowza streams RTSP/RTP over UDP checked with WireShark and VLC media player.
(No VLC fallback to TCP, all RTP packets are send via UDP).
Device and Media Server are on the same LAN.
Not native android players do play the stream.
I could provide Aplication.xml
Does your camera support RTSP/RTP interleaved (RTP over TCP)? If not you need to change the RTPTransportMode value from interleave to udp:
<MediaCaster>
<RTP>
<RTSP>
<!-- udp, interleave -->
<RTPTransportMode>interleave</RTPTransportMode>
</RTSP>
</RTP>
<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this application -->
<Properties>
</Properties>
</MediaCaster>
I just found this in the trouble shooting documentation:
Android does not support RTSP/RTP interleaved (RTP over TCP). This means if UDP is unavailable for RTP playback, RTP over TCP will not work as a failover and your stream will not play
Salvadore
Android is very tricky business, I suggest you zip up your [install-dir]/logs and [install-dir]/conf folders and send them to support@wowza.com
include a link to this thread for reference.
Salvadore