Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remote stream callback and simple abstraction for playback. #186

Merged
merged 2 commits into from
Jan 27, 2019

Conversation

jdm
Copy link
Member

@jdm jdm commented Jan 26, 2019

There should be no difference in behaviour as a result of these changes. They fix jdm#6.

@jdm
Copy link
Member Author

jdm commented Jan 26, 2019

r? @Manishearth

@jdm
Copy link
Member Author

jdm commented Jan 26, 2019

It's not clear to me that WebRtcSignaller is really where on_add_stream belongs, but perhaps we should be looking at renaming it to something like PeerConnection.

@Manishearth Manishearth merged commit 214c1f3 into servo:master Jan 27, 2019
@@ -1,6 +1,6 @@
use glib::ObjectExt;
use gst::{self, BinExtManual, ElementExt, GObjectExtManualGst};
use servo_media_webrtc::MediaStream;
use gst::{self, BinExt, BinExtManual, ElementExt, GObjectExtManualGst};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend simply importing glib::prelude::* and gst::prelude::* instead of the traits manually btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extract handle_media_stream from webrtc backend into simple_webrtc example
3 participants