Skip to content

Commit

Permalink
Merge pull request #8 from whimsical-c4lic0/fix-camsoda-audio
Browse files Browse the repository at this point in the history
Fix audio tracks on camsoda streams
  • Loading branch information
whimsical-c4lic0 authored Dec 27, 2024
2 parents d9177ba + 548414c commit a16383c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions streamonitor/sites/camsoda.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ def __init__(self, username):
super(CamSoda, self).__init__(username)

def getVideoUrl(self):
v = "https://" + self.lastInfo['edge_servers'][0] + "/" + self.lastInfo['stream_name'] + \
"_v1/index.m3u8?token=" + self.lastInfo['token']
audio_params = "multitrack=true&filter=tracks:v4v3v2v1a1a2"
v = "https://" + self.lastInfo["edge_servers"][0] + "/" + self.lastInfo["stream_name"] + \
"_v1/index.ll.m3u8?" + audio_params + "&token=" + self.lastInfo["token"]
return self.getWantedResolutionPlaylist(v)

def getStatus(self):
Expand Down

0 comments on commit a16383c

Please sign in to comment.