Results 1 to 4 of 4

Thread: ts file list logging.

  1. #1
    Join Date
    Aug 2012
    Posts
    5

    Default ts file list logging.

    Hello~

    I am using WowzaMediaServer-3.1.2.

    How can i write media_xxxx.ts file list log of the client requested ?

    I turned on DEBUG logging in conf/log4j.properties but ts file list doesn't write.

    Server log.

    2012-08-27 17:44:07 comment - - 3039.768 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.canHandle[live_mbc/1m/playlist.m3u8]: true
    2012-08-27 17:44:07 comment - - 3039.768 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.service: live_mbc/1m/playlist.m3u8?DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball& q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjqmIs=
    2012-08-27 17:44:07 comment - - 3039.768 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: live_mbc/1m/playlist.m3u8?DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball& q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjqmIs=
    2012-08-27 17:44:07 comment - - 27.049 - 200 - - - MediaStreamMediaCasterUtils.mapMediaCasterName: streamName:1m originURL:rtmp://xxx.xxx.xx.xx|rtmp://xxx.xxx.xx.xx result:rtmp://xxx.xxx.xx.xx:1935/live_mbc/_definst_/1m|rtmp://xxx.xxx.xx.xx:1935/live_mbc/_definst_/1m
    2012-08-27 17:44:07 comment - - 27.05 - 200 - - - 1.Get PlayList request startStr : 20120827164030, endStr : 30000, lastLiveEntry (startTimeCode: 98990111, stopTimeCode: 98992113, pt: 98990111 utcTime:20120827174400 end : ), date=Mon Aug 27 16:40:30 KST 2012
    2012-08-27 17:44:07 comment - - 27.05 - 200 - - - DVR Request! start : 20120827164030, endStr : 30000, DVR Time : (Mon Aug 27 16:40:30 KST 2012, Reqeust Time : (Mon Aug 27 16:40:30 KST 2012), now : Mon Aug 27 17:44:07 KST 2012
    2012-08-27 17:44:07 connect http (cupertino) - 27.055 211.49.226.204 200 0 http://xxx.xxx.xx.xx:80/live_mbc/1m/playlist.m3u8 DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball&q=03oxPHX7dFi8 6B5mBcGNEwzc71Y95nPamHPUrCjqmIs= -
    2012-08-27 17:44:07 comment - - 27.055 - 200 - - - MediaStreamMediaCasterUtils.mapMediaCasterName: streamName:1m originURL:rtmp://xxx.xxx.xx.xx|rtmp://xxx.xxx.xx.xx result:rtmp://xxx.xxx.xx.xx:1935/live_mbc/_definst_/1m|rtmp://xxx.xxx.xx.xx:1935/live_mbc/_definst_/1m
    2012-08-27 17:44:07 comment - - 27.056 - 200 - - - MediaStreamHTTPStreamerRepeaterPlay: startPlay
    2012-08-27 17:44:07 create http (cupertino) - 0.001 211.49.226.204 200 0 http://xxx.xxx.xx.xx:80/live_mbc/1m/playlist.m3u8 DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball&q=03oxPHX7dFi8 6B5mBcGNEwzc71Y95nPamHPUrCjqmIs= -
    2012-08-27 17:44:07 comment - - 27.057 - 200 - - - MAX = [3600] Current = 2
    2012-08-27 17:44:14 comment - - 34.315 - 200 - - - MediaStreamHTTPStreamerRepeaterPlay: close
    2012-08-27 17:44:14 destroy http (cupertino) - 33.485 211.49.226.204 200 3704 http://xxx.xxx.xx.xx:80/live_mbc/1m/playlist.m3u8 DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball&q=03oxPHX7dFi8 6B5mBcGNEwzc71Y95nPamHPUrCjqmIs= -
    2012-08-27 17:44:14 disconnect http (cupertino) - 34.316 211.49.226.204 200 3704 http://xxx.xxx.xx.xx:80/live_mbc/1m/playlist.m3u8 DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball&q=03oxPHX7dFi8 6B5mBcGNEwzc71Y95nPamHPUrCjqmIs= -
    2012-08-27 17:44:16 comment - - 3048.919 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.canHandle[live_mbc/1m/chunklist.m3u8]: true
    2012-08-27 17:44:16 comment - - 3048.919 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.service: live_mbc/1m/chunklist.m3u8?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    2012-08-27 17:44:16 comment - - 3048.92 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: live_mbc/1m/chunklist.m3u8?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    2012-08-27 17:44:16 comment - - 3049.445 - 200 - - - HTTPStreamerAdapterCupertinoStreamer.canHandle[version]: false
    2012-08-27 17:44:16 comment - - 3049.446 - 200 - - - HTTPStreamerAdapterSanJoseStreamer.canHandle[version]: false
    2012-08-27 17:44:16 comment - - 3049.446 - 200 - - - HTTPStreamerAdapterDvrChunkStreamer.canHandle[version]: false

    below is the client request

    [root@xxx ~]# curl -vvv "http://xxx.xxx.xx.xx/live_mbc/1m/playlist.m3u8?DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball& q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjqmIs="
    * About to connect() to xxx.xxx.xx.xx port 80
    * Trying xxx.xxx.xx.xx... connected
    * Connected to xxx.xxx.xx.xx (xxx.xxx.xx.xx) port 80
    > GET /live_mbc/1m/playlist.m3u8?DVR&wowzadvrplayliststart=20120827164030&wowzadvrplaylistduration=30000&u=sktbaseball& q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjqmIs= HTTP/1.1
    > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
    > Host: xxx.xxx.xx.xx
    > Accept: */*
    >
    < HTTP/1.1 200 OK
    < Date: Mon, 27 Aug 2012 08:44:07 GMT
    < Content-Type: application/vnd.apple.mpegurl
    < Server: FlashCom/3.5.7
    < Cache-Control: no-cache
    < Content-Length: 299
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1075079,CODECS="avc1.66.30, mp4a.40.2",RESOLUTION=711x400
    chunklist.m3u8?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    * Connection #0 to host xxx.xxx.xx.xx left intact
    * Closing connection #0


    [root@xxx ~]# curl -vvv "http://xxx.xxx.xx.xx/live_mbc/1m/chunklist.m3u8?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030"
    * About to connect() to xxx.xxx.xx.xx port 80
    * Trying xxx.xxx.xx.xx... connected
    * Connected to xxx.xxx.xx.xx (xxx.xxx.xx.xx) port 80
    > GET /live_mbc/1m/chunklist.m3u8?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030 HTTP/1.1
    > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
    > Host: xxx.xxx.xx.xx
    > Accept: */*
    >
    < HTTP/1.1 200 OK
    < Date: Mon, 27 Aug 2012 08:44:16 GMT
    < Content-Type: application/vnd.apple.mpegurl
    < Server: FlashCom/3.5.7
    < Cache-Control: no-cache
    < Content-Length: 3090
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-ALLOW-CACHE:NO
    #EXT-X-TARGETDURATION:3
    #EXT-X-MEDIA-SEQUENCE:47541
    #EXT-X-ENDLIST
    #EXTINF:2,
    media_47541.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47542.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47543.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47544.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47545.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47546.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47547.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47548.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47549.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47550.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47551.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47552.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47553.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47554.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47555.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    #EXTINF:2,
    media_47556.ts?wowzasessionid=128578628&u=sktbaseball&DVR&q=03oxPHX7dFi86B5mBcGNEwzc71Y95nPamHPUrCjq mIs%3D&wowzadvrplaylistduration=30000&wowzadvrplayliststart=20120827164030
    * Connection #0 to host xxx.xxx.xx.xx left intact
    * Closing connection #0

    Please help~

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Wowza logs the first 10 packets only. I don't think there is a way to configure this. Only INFO level logging is required.

    You can write to the log file with getLogger statements in IHTTPStreamerCupertinoVODActionNotify2.onFillChunkDataPacket(), or for live IHTTPStreamerCupertinoLivePacketizerDataHandler.onFillChunkDataPacket(). Take a look at this example:

    http://www.wowza.com/forums/content....le-HTTP-stream

    Richard

  3. #3
    Join Date
    Aug 2012
    Posts
    5

    Default

    I have tried http://www.wowza.com/forums/content....le-HTTP-stream example, but the method onFillChunkDataPacket() and other method is never called.

    Any ideas?

    Thanks

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Maybe there is no data. Try other methods of that interface. Make sure you have added "cupertinostreamingpacketizer" to the Application.xml /LiveStreamPacketizers

    Richard

Similar Threads

  1. Logging custom module to a different file
    By maugzoide in forum General Forum
    Replies: 7
    Last Post: 10-03-2014, 10:52 AM
  2. Transcode a list of file problem
    By vc12345 in forum AddOn: Transcoder
    Replies: 3
    Last Post: 11-07-2011, 07:01 AM

Posting Permissions

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