# video on demand streaming with jwplayer wowza android issue

**URL:** <https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [July 10, 2013, 2:24pm UTC](https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748 "2013-07-10T14:24:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taymoor\_qan](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@taymoor\_qan](https://community.wowza.com/u/taymoor_qan)\
**Post date:** [July 10, 2013, 2:24pm UTC](https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748/1 "2013-07-10T14:24:51Z")

</div>

I try to make jwplayer work on android phone when I put rtsp protocol file source it work fine in android but display an error that file can not be played in iOS and PC

without rtsp file source work on pc and iOS fine with rtsp file source work only in android

```auto
jwplayer("mediaplayer").setup({
            playlist: [{
                sources: [
                        {file:'rtmp://localhost:1935/vod/mp4:dexter.mp4'},//used it to PC 
                        {file:'rtsp://localhost:1935/dexter/dexter.mp4'},// used it to android
                        {file:'http://localhost:1935/vod/mp4:dexter.mp4/playlist.m3u8'}//and this for iOS                       
                        ],
                title: 'dexter',
        width: 854,
        height: 480,
    });

```

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [July 10, 2013, 6:37am UTC](https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748/2 "2013-07-10T06:37:41Z")

</div>

I’m not sure I understand your question but at first glance this may just be a typo. I think you need to add commas after each source entry:

sources: [

{file:‘rtmp://localhost:1935/vod/mp4:dexter.mp4’},

{file:‘rtsp://localhost:1935/dexter/dexter.mp4’},

{file:‘[http://localhost:1935/vod/mp4:dexter.mp4/playlist.m3u8](http://localhost:1935/vod/mp4:dexter.mp4/playlist.m3u8)’}

],

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [July 17, 2013, 2:34pm UTC](https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748/3 "2013-07-17T14:34:12Z")

</div>

Hi,

Are you able to play the Apple HLS stream with your Android phone?

See the article below more details on troubleshooting RTP/RTSP playback and how to play a Cupertino (Apple HLS) stream on Android phones,

[How-to-troubleshoot-RTSP-RTP-playback](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

Jason

---

<div class="post-metadata">

**Author:** ![taymoor\_qan](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@taymoor\_qan](https://community.wowza.com/u/taymoor_qan)\
**Post date:** [July 11, 2013, 10:27am UTC](https://community.wowza.com/t/video-on-demand-streaming-with-jwplayer-wowza-android-issue/40748/4 "2013-07-11T10:27:38Z")

</div>

the commas after each source it al ready exist and work fine

the problem when I put rtsp protocol path to make the video work in android devices but other browsers the video display an error couldn’t find the video ,And when I delete the rtsp protocol path it works fine in other browsers but not at android device
