mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 13:13:00 -05:00
Fix missing source quality
This commit is contained in:
parent
7d7994e371
commit
fcbf9096df
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ func GetStream(streamerName string, withAudioOnly bool) (string, error) {
|
||||||
if withAudioOnly {
|
if withAudioOnly {
|
||||||
params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&allow_source=true&allow_audio_only=true&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token)
|
params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&allow_source=true&allow_audio_only=true&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token)
|
||||||
} else {
|
} else {
|
||||||
params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token)
|
params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&allow_source=true&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token)
|
||||||
}
|
}
|
||||||
|
|
||||||
req, err := http.NewRequest("GET", playlistUrl+params, nil)
|
req, err := http.NewRequest("GET", playlistUrl+params, nil)
|
||||||
|
|
Loading…
Reference in a new issue