Results 1 to 4 of 4

Thread: Apple hls played file tracking form smil file

  1. #1
    Join Date
    Nov 2014
    Posts
    5

    Default Apple hls played file tracking form smil file

    hi i am using wowza streaming engine 4 , to stream smil file
    i am able to trace events when file play on flash,
    and gether informantions like , which file play , time etc,
    in onConnect() event,
    precisely i want to get which file is played from my smil file.
    but in case of apple hls streaming when i try to get file name in onHTTPSessionDestroy() method , eg.

     public void onHTTPSessionDestroy(IHTTPStreamerSession httpSession) {
        			String streamName = httpSession.getStreamName();
        }

    i only get the name of smil file , not the actual file played .

    is it possible to get the played file info in wowza hls steaming

  2. #2

    Default

    Hello there and welcome to the Wowza support forum.

    There are new API's which may accommodate this request:
     public void onHTTPStreamerRequest(IHTTPStreamerSession httpSession, IHTTPStreamerRequestContext reqContext)
    And specific to HLS:
    public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext)
    There is also a validation event handler:
    Implement the IVHostHTTPStreamerRequestValidator interface and handle the validateHTTPStreamerRequest event.

    You can find more information in the ServerSideAPI guide that ships with Wowza [install-dir]/documentation/WowzaStreamingEngine_ServerSideAPI.pdf

    Kind regards,

    Salvadore

  3. Default

    The onHTTPCupertinoStreamerRequest is not mentioned in the Server Side API documentation (yet) I found the onHTTPStreamerRequest as part of the IHTTPStreamerRequestNotify. Where do I implement this interface; as a part of a module or in the same way as the IVHostHTTPStreamerRequestValidator (see page 1840 of the API PDF)?

  4. #4

    Default

    This has been made available by extending ModuleBase:
    public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext){
    		getLogger().info("onHTTPCupertinoStreamerRequest");
    	}
    Sorry for any confusion or misdirection.

    Kind regards,

    Salvadore

Similar Threads

  1. add http headers for apple HLS m3u8 file and ts file
    By johsun in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 11-15-2013, 06:32 AM
  2. http(hls) streaming with smil file to refer 1 mp4 file ( multi-cahannels )
    By qstream in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 10-26-2013, 12:52 AM
  3. Replies: 12
    Last Post: 10-25-2013, 04:45 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
  •