Skip to content

Feature: Unique sid (session ID) for each stream URL entry so that multiple streams can be watched simultaneously #21

@dogganon

Description

@dogganon

When all streams share the same sid only the last loaded stream is available, the rest becomes empty.

@4v3ngR

Steps to reproduce

  • Generate a shared sid using a UUID generator.
  • Construct stream URLs:
https://cfd-v4-service-channel-stitcher-use1-1.prd.pluto.tv/stitch/hls/channel/62ba60f059624e000781c436/master.m3u8?appName=web&appVersion=unknown&clientTime=0&deviceDNT=0&deviceId=6c25e430-30d3-11ef-9cf5-e9ddff8fe497&deviceMake=Chrome&deviceModel=web&deviceType=web&deviceVersion=unknown&includeExtendedEvents=false&serverSideAds=false&sessionID={SID}&sid={SID}
https://cfd-v4-service-channel-stitcher-use1-1.prd.pluto.tv/stitch/hls/channel/65775e07dfed030008cb3f47/master.m3u8?appName=web&appVersion=unknown&clientTime=0&deviceDNT=0&deviceId=6c263251-30d3-11ef-9cf5-e9ddff8fe497&deviceMake=Chrome&deviceModel=web&deviceType=web&deviceVersion=unknown&includeExtendedEvents=false&serverSideAds=false&sessionID={SID}&sid={SID}

where {SID} is the generated UUID.

Expected results

  • DevTools Console: The stream that loads last will be the one that plays without the "Fatal error: levelEmptyError".
  • DevTools Network: The one that fails keeps loading empty M3U8 playlists.
Image Image
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Notes

I have also tried different deviceIds for each stream but that didn't seem to do anything.

Hypotheses

  • sid controls the streaming session, regardless of the deviceId.
  • Only one stream may be active for an sid at any given time; new streams opened with the same sid will "steal" the session from the old ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions