Home
last modified time | relevance | path

Searched refs:offer (Results 1 – 4 of 4) sorted by relevance

/xiu/protocol/webrtc/src/clients/
H A Dwhep.js64 const offer = await pc.createOffer();
78 body: offer.sdp,
227 await pc.setLocalDescription(offer);
238 this.iceUsername = offer.sdp.match(/a=ice-ufrag:(.*)\r\n/)[1];
239 this.icePassword = offer.sdp.match(/a=ice-pwd:(.*)\r\n/)[1];
280 const offer = await this.pc.createOffer({ iceRestart: true });
282 this.iceUsername = offer.sdp.match(/a=ice-ufrag:(.*)\r\n/)[1];
283 this.icePassword = offer.sdp.match(/a=ice-pwd:(.*)\r\n/)[1];
285 await this.pc.setLocalDescription(offer);
/xiu/protocol/webrtc/src/session/
H A Dmod.rs156 let offer = RTCSessionDescription::offer(sdp_data.clone())?; in run() localVariable
160 self.publish_whip(app_name, stream_name, path, offer) in run()
164 self.subscribe_whep(app_name, stream_name, path, offer) in run()
251 offer: RTCSessionDescription, in publish_whip()
273 let response = match handle_whip(offer, sender).await { in publish_whip()
326 offer: RTCSessionDescription, in subscribe_whep()
351 let response = match handle_whep(offer, receiver, pc_state_sender).await { in subscribe_whep()
/xiu/protocol/webrtc/src/
H A Dwhip.rs27 offer: RTCSessionDescription, in handle_whip()
183 peer_connection.set_remote_description(offer).await?; in handle_whip()
H A Dwhep.rs29 offer: RTCSessionDescription, in handle_whep()
138 peer_connection.set_remote_description(offer).await?; in handle_whep()