-
Notifications
You must be signed in to change notification settings - Fork 423
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
Cannot get WebRTCReceiver example to run #691
Comments
That's not unusual. It can sometimes take a bit of time for a keyframe to get sent to allow the video stream to synchronise. How long did you let it run? See here for an example of a kludge to attempt to force the remote peer to send a key frame. If #385 ever gets implemented the kludge won't be needed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to do bidirectional video streaming between a C# application running on Windows 10 and Chrome (v98) on Android 10. I have cloned the latest repo, changed the "version" tag in global.json to 5, and am running the examples in Visual Studio. After doing this I have successfully been able to run video streaming examples streaming the video test pattern from C# program to the browser, but haven't been able to get any of the examples streaming video in the other direction working (Android browser-> Windows).
Running the "WebRTCReceiver" example, I get the following error in Chrome developer console on Android:
Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid='1'.
I believe this may be because some android phones do not support H264 WebRTC (see https://stackoverflow.com/questions/36766716/how-to-enable-h264-on-android-webrtc), this is from a while ago though so I am unsure.
Next I tried changing the codec to VP8 by swapping out the relevant lines in the Program.cs file (lines 111, 112 & 150) to the alternative VP8 lines that are originally commented out. After doing this the connection establishes successfully however no feed shows in the WinForms window and the console shows the following error:
[02:34:42 WRN] VP8 decode attempt failed, Bitstream not supported by this decoder.
Any help on this would be greatly appreciated, let me know if there's any more details I can provide that may be of help.
The text was updated successfully, but these errors were encountered: