mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix: use specified protocol to create sources
This commit is contained in:
parent
2aa6e87266
commit
471dc7dd6a
@ -80,8 +80,8 @@ export default class StreamingController extends Controller {
|
||||
username: streamingKey.username,
|
||||
sources: {
|
||||
rtmp: `rtmp://${streamingServerAPIAddress}/live/${username}`,
|
||||
hls: `http://${streamingServerAPIAddress}/live/${username}/src.m3u8`,
|
||||
flv: `http://${streamingServerAPIAddress}/live/${username}/src.flv`,
|
||||
hls: `${streamingServerAPIProtocol}://${streamingServerAPIAddress}/live/${username}/src.m3u8`,
|
||||
flv: `${streamingServerAPIProtocol}://${streamingServerAPIAddress}/live/${username}/src.flv`,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user