Results 1 to 2 of 2

Thread: Add query params to *.ts urls inside hls playlist.m3u8

  1. #1
    Join Date
    May 2011
    Posts
    4

    Question Add query params to *.ts urls inside hls playlist.m3u8

    Hello. We are using different CDNs (EdgeCast Akamai) for caching HLS output. And we want every client to be authorised on CDN for each request with a token. CDN have mechanisms to decide wether to allow or deny access to the file for the user according to a token (expiry date, credentials). It makes us be aware of that the user got the access to media from us but not on his own.

    All tokens can be generated in wowza for each time segment inside playlist.
    Is there a way to add it as a query parameter to each time segment url inside playlist.m3u8 file? Like that

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:1
    #EXTINF:10.0,
    media_1.mp3?3a01f059bf10d94159527d18f106
    #EXTINF:10.0,
    media_2.mp3?94159527d18f1063a01f059bf10d
    #EXTINF:10.0,
    media_3.mp3?0d94159527d18f1063a01f059bf1
    #EXTINF:10.0,
    media_4.mp3?0d94159527d18f1063a01f059bf1
    #EXTINF:10.0,
    media_5.mp3?4159527d18f1063a01f059bf10d9
    #EXTINF:10.0,
    media_6.mp3?59bf10d94159527d183a01f0f106
    #EXTINF:10.0,
    media_7.mp3?3a01f0597d18fbf10d9415952106

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

    Default

    With HTTP Origin enabled, Wowza cannot be involved in client authentication or access control. That all must be done between the client and CDN. Wowza creates chunks, the CDN pulls them into its cache, then the client streams from the CDN cache. So Wowza is not aware of the clients streaming from the CDN cache.

    Richard

Similar Threads

  1. Remove query parameters from HLS chunk URLs?
    By johnsterling in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 11-23-2016, 09:53 AM
  2. 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
  3. query params.
    By bnystrom in forum GoCoder iOS app
    Replies: 2
    Last Post: 05-10-2013, 01:29 AM
  4. Query string placement in stream URLs
    By seanngreen in forum General Forum
    Replies: 1
    Last Post: 03-06-2013, 07:53 AM
  5. Force full URLs in playlist.m3u8 ?
    By daveuofu in forum General Forum
    Replies: 1
    Last Post: 03-26-2012, 01:01 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
  •