Home
last modified time | relevance | path

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

/xiu/protocol/webrtc/src/clients/
H A Dwhep.js20 async view(pc, url, token) { argument
22 if (this.pc)
27 this.pc = pc;
30 pc.onconnectionstatechange = (event) => {
31 switch (pc.connectionState) {
46 pc.onicecandidate = (event) => {
64 const offer = await pc.createOffer();
278 this.pc.restartIce();
434 if (!this.pc) {
443 this.pc.close();
[all …]
/xiu/protocol/webrtc/src/
H A Dwhip.rs85 let pc = Arc::downgrade(&peer_connection); in handle_whip() localVariable
89 let pc2 = pc.clone(); in handle_whip()
98 if let Some(pc) = pc2.upgrade(){ in handle_whip()
99 result = pc.write_rtcp(&[Box::new(PictureLossIndication{ in handle_whip()
/xiu/protocol/webrtc/src/session/
H A Dmod.rs69 if let Some(pc) = &self.peer_connection { in close_peer_connection()
70 pc.close().await?; in close_peer_connection()
/xiu/
H A DCargo.lock3453 "winapi-i686-pc-windows-gnu",
3454 "winapi-x86_64-pc-windows-gnu",
3458 name = "winapi-i686-pc-windows-gnu"
3473 name = "winapi-x86_64-pc-windows-gnu"