Commit graph

45 commits

Author SHA1 Message Date
Josh Matthews
84efd56e57 dom: Add WebRTC transceiver stubs. 2020-07-14 12:48:45 -04:00
Fernando Jiménez Moreno
6ebb73d9a4 Fix rooting issue 2020-06-29 16:53:50 +02:00
Fernando Jiménez Moreno
7eb44f81f2 Fix data channels borrowing errors 2020-06-29 16:53:50 +02:00
Fernando Jiménez Moreno
b968852456 Do not register data channel twice 2020-06-29 16:53:50 +02:00
Fernando Jiménez Moreno
820ea452e7 Set data channels as closed on peer connection close 2020-06-29 16:53:49 +02:00
Fernando Jiménez Moreno
7db485aeb2 RTCDataChannel.readyState getter 2020-06-29 16:53:48 +02:00
Fernando Jiménez Moreno
9d456d5d17 Use data channel ids 2020-06-29 16:53:48 +02:00
Fernando Jiménez Moreno
960b010d30 Cleanups and tidy fixes 2020-06-29 16:53:48 +02:00
Fernando Jiménez Moreno
f5c930087e Implement ondatachannel event 2020-06-29 16:53:48 +02:00
Fernando Jiménez Moreno
4e6d3e7cec WebRTCDataChannel initial support 2020-06-29 16:53:47 +02:00
YUAN LYU
3ea6d87bcc
Add trait DomObjectWrap to provide WRAP function 2020-03-20 22:16:56 -04:00
Josh Matthews
51145cfd83 Update to 3/4 nightly rustc. 2020-03-10 10:09:07 -04:00
Josh Matthews
a29f4a9afe Revert "Auto merge of #25898 - jdm:rustup, r=asajeffrey"
This reverts commit ea8aed1ba9, reversing
changes made to 3749eb5397.
2020-03-06 00:06:15 -05:00
Josh Matthews
bf7537ef5b Update to 3/4 nightly rustc. 2020-03-04 15:08:18 -05:00
Kunal Mohan
5a3e1b8e69
rename compartment to realm 2020-01-24 20:52:36 +05:30
Kunal Mohan
f7db4b7f80
Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
Simon Sapin
1d38bc0419 Fix some new warnings 2019-06-22 14:59:09 +02:00
Bastien Orivel
292d468cd1 Use the newly added inCompartments option everywhere it can be 2019-05-25 17:28:07 +02:00
Manish Goregaokar
72701d96c4 Add RTCPeerConnection.ontrack 2019-05-08 08:15:01 -07:00
Manish Goregaokar
a9ab13b279 Use MediaStreamTracks in MediaStreams 2019-05-07 17:09:04 -07:00
Manish Goregaokar
749a6595ad Update servo-media 2019-05-07 14:09:09 -07:00
Aron Zwaan
e2e6e2ac94 Pass InCompartment by value 2019-04-25 11:37:35 +02:00
Aron Zwaan
1b6949d4cf Add proof parameter to Promise::new_in_current_compartment 2019-04-24 19:46:10 +02:00
Josh Matthews
eebd831ea5 Move media backend initialization to process startup. 2019-04-15 16:46:25 -04:00
bors-servo
17204544d9
Auto merge of #23157 - ferjm:gum.playback, r=Manishearth
MediaStream playback through audio and video elements

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23157)
<!-- Reviewable:end -->
2019-04-13 20:28:17 -04:00
Fernando Jiménez Moreno
af242a0571 MediaStream playback through audio and video elements 2019-04-10 17:55:46 +02:00
Aron Zwaan
782b58587a Rename Promise::new to Promise::new_in_current_compartment 2019-04-03 20:45:30 +02:00
Manish Goregaokar
7343241c3d Add RTCPeerConnection::Close 2019-03-25 09:04:13 -07:00
Manish Goregaokar
5cb5503a75 Add SignalingState to RTCPeerConnection 2019-03-25 09:04:13 -07:00
Manish Goregaokar
fc25a80892 Add ICEConnectionState to RTCPeerConnection 2019-03-25 09:04:13 -07:00
Manish Goregaokar
209caa418b Add ICEGatheringState to RTCPeerConnection 2019-03-25 09:04:13 -07:00
Fernando Jiménez Moreno
bc74dc0e85 Use servo-media-auto and call ServoMedia::init where required 2019-03-25 09:51:53 +01:00
Manish Goregaokar
407d88f97d Update servo-media 2019-02-13 10:04:52 -08:00
Manish Goregaokar
b7e2e79e53 Use draft spec links 2019-01-29 11:37:00 -08:00
Manish Goregaokar
7761243100 Configure STUN servers 2019-01-29 11:37:00 -08:00
Manish Goregaokar
2d8ac7825c Add RTCPeerConnection::AddStream 2019-01-29 11:37:00 -08:00
Manish Goregaokar
93a359e528 Add RTCPeerConnection::SetRemoteDescription 2019-01-29 11:36:27 -08:00
Manish Goregaokar
95cd67cb65 Add RTCPeerConnection::SetLocalDescription 2019-01-29 11:36:27 -08:00
Manish Goregaokar
cfc235bad2 Add createAnswer 2019-01-29 11:36:27 -08:00
Manish Goregaokar
c156289a0c Add createOfer 2019-01-29 11:36:27 -08:00
Manish Goregaokar
9521c3d5a4 Add RTCPeerConnection::AddIceCandidate 2019-01-29 11:36:27 -08:00
Manish Goregaokar
841dd1eb4b Fire negotiationneeded and icecandidate events 2019-01-29 11:36:27 -08:00
Manish Goregaokar
5bfa42094e Add RTCPeerConnectionIceEvent 2019-01-29 11:36:27 -08:00
Manish Goregaokar
e0d8de2714 Fill in some of RTCPeerConnection, add signaller 2019-01-28 22:21:42 -08:00
Manish Goregaokar
2dd69d0cb0 Add empty RTCPeerConnection interface 2019-01-28 22:21:42 -08:00