Closed getroot closed 5 years ago
OvenPlayer automatically plays the next protocol (source) that is already registered, when an error occurs in the currently playing protocol (source) by default. But I may add, if your network connection is unstable during play with WebRTC protocol (source), it's automatically changed to play with the next protocol (source).
like this let player = OvenPlayer.create("elementID", { sources: [ {type: "webrtc", file: "xxx", label: "WEBRTC LIVE"}, {type: "mpd", file: "xxx", label: "DASH LIVE"}, {type: "rtmp", file: "xxx", label: "RTMP LIVE"} ] });
@JehoenHan Can I close this issue?
Does the OvenPlayer provide a method to switch from WebRTC to HLS or MPEG-DASH automatically or manually when the network environment is bad?