-
Notifications
You must be signed in to change notification settings - Fork 67
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
Quick question about video streaming #41
Comments
That's because the tests must be able to run on headless servers which have no cameras or microphones connected. As of now, you can stream webcams. Custom video sources is doable too, but haven't done that so far. Have a look at the code snippets in #25. Once you call |
I must be missing something , as this is my implementation :
For some reason everything is connected but I am not getting the frames of the video at the callee. |
Hi @RaniRaven, |
No actually I get a weird problem that the track is LIVE on both side (both peers) but I don;t get the onframe event. |
I've good news now, I have finally been able to set a working sample there. Currently working in the model of ICE gathering all. I'll see about the full trickling model, later. I am still a little bit confused about setting the audio stream, since the model is not clear there, how do I start ? Is there any sample by the way of how to stream a file from a filesystem using those sources ? |
@RaniRaven any updates yet on this ? |
Streaming a file is not supported yet, but will be possible in the near future. For upcoming progress see #87 |
I am trying to follow the path in the tests that allows for streaming actual video into the peer.
I am getting to the stage where both peers are connected, each is setting right the SDP offer and answer to the remote and local.
The webrtc session is up for sure, but nothing is being streamed.
I am probably missing something trivial, but I cannot understand what is supposed to be the "streamer" that actually streams the video.
Unfortunately there is no test showing this including video, only data channel is being illustrated,
Isn't there supposed to be an event loop which makes the streaming of video frames there ? or is it done by the native functions behind the scenes, like by the call to the VideoSource.start() ?
Can someone shed some light on it ? Cause I think I am quite close to success there.
The text was updated successfully, but these errors were encountered: