Results 1 to 2 of 2

Thread: Errors during mp3 streaming on Android device and IOS device

  1. #1
    Join Date
    Feb 2014
    Posts
    4

    Default Errors during mp3 streaming on Android device and IOS device

    Hello ,

    I am using Wowza for VOD. I'm facing lot of error curing streaming. Some Errors are give below.
    # Mp3 urls are not stream on rstp protocol. I'm using rstp protocol to stream on android device.

    URL for RSTP:
    rtsp://ec2-54-254-221-231.ap-southeast-1.compute.amazonaws.com/vods3/_definst_/mp3:amazons3/veromuse/veromuse_WogEUw_%5BSongs.PK%5DHeroine-03-MainHeroineHoon.mp3
    Error we get when we try to stream mp3 + UDP using android device:
    INFO rtsp connect 834442058 -
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3"}} result:mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3
    INFO stream create - -
    INFO rtsp describe 834442058 -
    INFO stream play amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO rtsp play 834442058 -
    INFO stream stop amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO stream destroy amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO rtsp disconnect 834442058

    Error we get when we try to stream mp3 + TCP using android device:
    INFO server comment - ModuleStreamNameAlias.onAppStart: aliasMapFileStream: /usr/local/WowzaMediaServer/conf/aliasmap.stream.txt
    INFO server comment - ModuleStreamNameAlias.onAppStart: aliasMapFilePlay: /usr/local/WowzaMediaServer/conf/aliasmap.play.txt
    INFO server comment - ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[vods3/_definst_]: Auto-set application RTSP addresses: internal[bind]:172.31.6.93 external[origin,connection]:54.254.221.231
    INFO application app-start _definst_ vods3/_definst_
    INFO rtsp connect 1952591658 -
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3"}} result:mp3:amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3
    INFO stream create - -
    INFO rtsp describe 1952591658 -

    INFO stream play amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO rtsp play 1952591658 -
    INFO stream stop amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO stream destroy amazons3/veromuse/veromuse_WogEUw_[Songs.PK]Heroine-03-MainHeroineHoon.mp3 -
    INFO rtsp disconnect 1952591658 -

    Error we get when we try to stream mp3 + UDP using android device:
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:mp3:amazons3/veromuse/veromuse_rG4EUw_DeathGrips-GetGot.mp3 alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "mp3:amazons3/veromuse/veromuse_rG4EUw_DeathGrips-GetGot.mp3"}} result:mp3:amazons3/veromuse/veromuse_rG4EUw_DeathGrips-GetGot.mp3
    INFO sanjose connect 1611711692 -
    INFO stream create amazons3/veromuse/veromuse_rG4EUw_DeathGrips-GetGot.mp3 -
    ERROR server comment - decodeID3V2Tags: java.lang.UnsupportedOperationException
    java.lang.UnsupportedOperationException
    at org.farng.mp3.id3.FrameBodyRVAD.setupObjectList(FrameBodyRVAD.java:182)
    at org.farng.mp3.AbstractMP3FragmentBody.<init>(AbstractMP3FragmentBody.java:32)
    at org.farng.mp3.id3.AbstractID3v2FrameBody.<init>(AbstractID3v2FrameBody.java:19)
    at org.farng.mp3.id3.FrameBodyRVAD.<init>(FrameBodyRVAD.java:145)
    at org.farng.mp3.id3.AbstractID3v2Frame.readBody(AbstractID3v2Frame.java:94)
    at org.farng.mp3.id3.ID3v2_3Frame.read(ID3v2_3Frame.java:193)
    at org.farng.mp3.id3.ID3v2_3Frame.<init>(ID3v2_3Frame.java:123)
    at org.farng.mp3.id3.ID3v2_3.read(ID3v2_3.java:269)
    at org.farng.mp3.id3.ID3v2_3.<init>(ID3v2_3.java:147)
    at org.farng.mp3.MP3File.<init>(MP3File.java:252)
    at com.wowza.wms.mediareader.mp3.MediaReaderMP3.decodeID3V2Tags(MediaReaderMP3.java:490)
    at com.wowza.wms.mediareader.mp3.MediaReaderMP3.readMetadata(MediaReaderMP3.java:283)
    at com.wowza.wms.mediareader.mp3.MediaReaderMP3.open(MediaReaderMP3.java:160)
    at com.wowza.wms.httpstreamer.model.HTTPStreamerAdapterBase.doesFileExist(HTTPStreamerAdapterBase.java: 1419)
    at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.onPl aylist(HTTPStreamerAdapterCupertinoStreamer.java:1558)
    at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.serv iceMsg(HTTPStreamerAdapterCupertinoStreamer.java:436)
    at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.serv ice(HTTPStreamerAdapterCupertinoStreamer.java:393)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:636)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:375)
    at com.wowza.wms.server.ServerHandler.messageReceived(ServerHandler.java:487)
    at com.wowza.wms.server.ServerHandlerThreaded.messageReceived(ServerHandlerThreaded.java:78)
    at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:18 1)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.j ava:511)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:42)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterCha in.java:786)
    at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.j ava:60)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:177)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.j ava:511)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:42)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterCha in.java:786)
    at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:247)
    at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:323)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
    ============

    2: Unable to stream FLV files on IOS device.
    URL: http://ec2-54-254-221-231.ap-southea.../playlist.m3u8
    Error for FLV files during streaming on IOS device:
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv"}} result:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv"}} result:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv
    INFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv"}} result:flv:amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv
    INFO cupertino connect 1824082037 -
    INFO stream create amazons3/veromuse/veromuse_4JQEUw_Shark_clip4_240_1(1).flv -
    ERROR server comment - MediaReaderFactory.getInstance: Missing definition for flvcupertino


    ==========================================================================
    3: Streaming m4a file on IOS device device:
    URL: http://ec2-54-254-221-231.ap-southea.../playlist.m3u8

    NFO server comment - ModuleStreamNameAlias.nameToAlias[play]: streamName:mp3:amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a alias:{pattern: "*" alias:"${Stream.Name}" wildcardMatches:{[0]: "mp3:amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a"}} result:mp3:amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a
    INFO cupertino connect 1059545669 -
    INFO stream create amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a -
    ERROR server comment - open: java.lang.Exception: MP3 file format not valid. Zero duration. Seek will not function properly: amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a
    ERROR server comment - open: java.lang.Exception: MP3 file format not valid. Zero duration. Seek will not function properly: amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a
    INFO server comment - MediaReaderH264Cupertino.indexFile[vods3/_definst_/amazons3/veromuse/veromuse_QW8EUw_Death_Grips_-_Get_Got.m4a][mp4a.40.34]: Audio:


    Please provide me suggestion how i can't stream MP# file on android device. Also how to stream flv files on IOS device.
    I'm waiting for your response

    Thanks in advance

  2. #2
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hello,

    Android does not support the MP3 audio codec in the RTSP stream.
    Also, Apple HLS does not support the FLV container for streaming. You should use MP4.

    Zoran

Similar Threads

  1. MP3 Streaming for S3 files: Not Working on Android Device
    By abhi158005 in forum On-Demand Streaming
    Replies: 2
    Last Post: 02-20-2014, 08:55 AM
  2. Live video streaming on Android device
    By sam.shm in forum Media Players and Devices Discussion
    Replies: 5
    Last Post: 05-07-2013, 06:06 AM
  3. Streaming to android device Live video from wowza...
    By Andres in forum General Forum
    Replies: 9
    Last Post: 11-23-2012, 07:10 AM
  4. I can't do streaming from WOWZA to my Android device.
    By ohcalvo in forum Media Players and Devices Discussion
    Replies: 15
    Last Post: 10-01-2012, 12:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •