| /webrtc/turn/src/client/ |
| H A D | permission.rs | 23 pub(crate) struct Permission { struct 27 impl Permission { impl 40 perm_map: HashMap<String, Arc<Permission>>, 50 pub(crate) fn insert(&mut self, addr: &SocketAddr, p: Arc<Permission>) { in insert() argument 54 pub(crate) fn find(&self, addr: &SocketAddr) -> Option<&Arc<Permission>> { in find() argument
|
| H A D | relay_conn.rs | 217 let perm = Arc::new(Permission::default()); in send_to() 366 async fn create_perm(&mut self, perm: &Arc<Permission>, addr: SocketAddr) -> Result<(), Error> { in create_perm() argument
|
| /webrtc/turn/src/allocation/ |
| H A D | permission.rs | 12 pub struct Permission { struct 14 pub(crate) permissions: Option<Arc<Mutex<HashMap<String, Permission>>>>, argument 19 impl Permission { argument 22 Permission { in new()
|
| H A D | allocation_test.rs | 26 let p1 = Permission::new(addr1); in test_has_permission() 27 let p2 = Permission::new(addr2); in test_has_permission() 28 let p3 = Permission::new(addr3); in test_has_permission() 61 let p = Permission::new(addr); in test_add_permission() 86 let p = Permission::new(addr); in test_remove_permission() 289 a.add_permission(Permission::new(addr)).await; in test_allocation_close()
|
| H A D | mod.rs | 78 permissions: Arc<Mutex<HashMap<String, Permission>>>, 129 pub async fn add_permission(&self, mut p: Permission) { in add_permission() argument 178 self.add_permission(Permission::new(cb.peer)).await; in add_channel_bind() 196 self.add_permission(Permission::new(peer)).await; in add_channel_bind()
|
| /webrtc/sctp/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/data/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/ice/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/rtp/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/dtls/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/examples/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/util/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/turn/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/stun/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/rtcp/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/mdns/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/media/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/srtp/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/interceptor/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/constraints/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/sdp/ |
| H A D | LICENSE-MIT | 5 Permission is hereby granted, free of charge, to any person obtaining a copy
|
| /webrtc/turn/src/server/ |
| H A D | request.rs | 7 use crate::allocation::permission::Permission; 636 a.add_permission(Permission::new(SocketAddr::new( in handle_create_permission_request()
|
| /webrtc/turn/src/allocation/allocation_manager/ |
| H A D | allocation_manager_test.rs | 93 a.add_permission(Permission::new(peer_listener1.local_addr()?)) in test_packet_handler()
|