Start a new topic

Poor PDN participation with VBR within ABR playlist.m3u8

Noticed very low PDN participation while testing a new encoder(teradek w/ VBR)/transcoder(nimble transcoder for ABR) solution. It appears the reported bitrate (BANDWIDTH) within the ABR playlist is highly dynamic. For example three consecutive ABR playlist request results in different reported bitrates for all streams:

$ curl -k









$ curl -k









$ curl -k









Is it possible to associate PDN groups/swarms via RESOLUTION as an alternative to BANDWIDTH? 

Hi Lael,

Currently the only supported option is to use the BANDWIDTH to distinguish between different qualities. The problem is that in some cases it is possible to have two different qualities with the same resolution and there is no clear solution to this problem. Even using the stream URL for the selected quality (e.g live/cube_240p/chunks.m3u8?nimblesessionid=19) is problematic because sometimes the session id is included in the URL. In this case we can strip the part after the "?", but sometimes the URL is something like live/cube_240p/sessionid/chunks.m3u8. 

We will discuss it internally and try to find some solution that works all the time (or at least most of the time).

Best regards,

Nikolay Dimitrov

Hi Nikolay,

This issue is appears similar to how CDNs identify a unique resource as cacheable or secure, for example one of the leading CDNs creates a cachekey (x-cache-key) for all resources. By default the cachekey is the complete URL  (including query args), however to improve reuse/cacheability the CDN allows the customer to define the cachekey matching rules. For example all/some query args (nimblesessionid) are not included within the cachekey and/or ignore/include parts of the URL path (*sessionid*), etc. Maybe something similar will work for ABR based streams, such as a streamkey (x-stream-key=live/cube_240p/). 

For now it appears ABR streams that utilize VBR are not compatible with the PDN.  



Update: It appears nimble provides a method to overwrite the BANDWIDTH value to a static value within the ABR playlist. PDN participation is now successful for VBR enabled ABR streams. However this solution is only valid for encoders that utilize nimble for transmuxing. Also I noticed an odd behavior with the Viblast player when switching between ABR streams that utilize VBR; I'll start a new question.



Login to post a comment