Wowza Community

how can i get this to play on a direct link through the video player on android

I want to play on android but none of these links are working directly on android…

rtmp direct link: rtmp://toproadstreaming.com:1935/Android/default.stream


rtsp direct link: rtsp://toproadstreaming.com:1935/Android/default.stream


only if i embed this code on a website http://toproadstreaming.com/Android it can then be played when i enter this url on android.

how can i get this to play on a direct link through the video player on android

This text will be replaced

So, you can get it to work in RTMP/Flash. You want it to work in RTSP.

You will have to narrow down the problem.

  1. Try the Wowza Mobile Demo to see your Android RTSP player works.

  2. Setup and test a VOD Application to see that Wowza works through your firewall with RTSP.

  3. That leaves only your live encoding. You’ll have to ensure that your live encoding is supported by your RTSP Player.

Is it MP3? Because Android does not support streaming MP3

Richard

That’s MP3, which is not supported in Android.

Richard

That might work, or VLC. Here are guides for each that can help:

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts)

Richard

…but not sure about 2 pass for a live stream, I don’t see how that is possible

Another option is the Wowza 3 Transcoder

Richard

What type of encoding are you doing?

For best results use:

Video: H.264, Baseline, Level 3.0, Keyframe Interval: 2 sec, Frame Rate: 15fps.

Audio: AAC, 44.1khz, 128kbps

Hi again wlongdonstudio,

The RTSP URI you have in your first post is correct.

Try playing “rtsp://toproadstreaming.com:1935/Android/default.stream” in VLC. Then go Tools->Codec Information, and verify that the codec of your stream is supported by Android/RTSP.

You can do it in the VLC GUI by going to Tools->Convert/Save. But for better quality, you should research how to do two-pass encoding with ffmpeg.

thxs for replying

i can play vod on my android streaming from my server

also i’m able to play live stream on my android

now that leave live shoutcast redirect…

i can’t get that to play i get the error “This video cannot be played”

i’m not using any encoder…i have a shoutcast server

i created a server that can redirect the stream into this wowza server…

it plays find in flash

no it brings a port in by relaying

ook so wats the link to get android t work. i need your help

thxs will try that

thxs randall for responding…

ok i tried what you said

i opened rtsp://toproadstreaming.com:1935/Android/default.stream in vlc and it played i have a mac

this is what i got for the codec

Stream 0

Type Audio

Codec MPEG Audio layer 1/2/3 (mpga)

Channel 2

Stream 1

Type Audio

Codec MPEG Audio layer 1/2/3 (mpga)

Channel Stereo

Sample rate 44100Hz

Bitrate 128kb/s

thxs

so how do i get it a file to stream to android…i have convert the same files?

it’s streaming live online on a shoutcast server

i’m researching two-pass encoding with ffmpeg

thxs