mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-07-08 02:20:11 +02:00
Parse JSON from server SDP
This commit is contained in:
@ -26,8 +26,8 @@ export function initViewerPage(stream, stunServers, viewersCounterRefreshPeriod)
|
||||
c.onICECandidate(localDescription => {
|
||||
s.sendDescription(localDescription, stream, quality);
|
||||
});
|
||||
s.onDescription(data => {
|
||||
c.setRemoteDescription(data);
|
||||
s.onDescription(sdp => {
|
||||
c.setRemoteDescription(sdp);
|
||||
});
|
||||
|
||||
// Register keyboard events
|
||||
|
Reference in New Issue
Block a user