minshikshin / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

webkitRTCPeerConnection fails to set video send codecs #505

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create a webkitRTCPeerConnection object
2.Create RTCSessionDescription with VP8 codec
3.Call webkitRTCPeerConnection.setremotedescription with session description

What is the expected output? What do you see instead?
Expect: SDP to be set in webkitRTCPeerConnection.remoteDescription
Actual: Receive error: "Failed to set local  sdp: Session error code: 
ERROR_CONTENT. Session error description: Failed to set video send codecs.."

What version of the product are you using? On what operating system?
Chromecast firmware 26653

Please provide any additional information below.
Fails regardless of SDP codecs/receive only flags. Cannot set local description 
with VP8 codec flagged

Original issue reported on code.google.com by mattj...@gmail.com on 11 Feb 2015 at 4:57

GoogleCodeExporter commented 8 years ago

Original comment by jonathan...@google.com on 18 Feb 2015 at 6:36

GoogleCodeExporter commented 8 years ago
Are you still seeing the issue?

Original comment by jonathan...@google.com on 27 Aug 2015 at 9:22

GoogleCodeExporter commented 8 years ago
I don't get that error anymore.

Now the video stream renders in slow motion (even a 500 kbit/s stream). Audio 
plays fine but not synced to the video. Somehow this smells like the video not 
being decoded in hardware.

Original comment by kapejod@gmail.com on 28 Aug 2015 at 5:55

GoogleCodeExporter commented 8 years ago
I have published a small sample app to test/reproduce this at 
https://github.com/ahoyconference/cast-mirror

Original comment by kapejod@gmail.com on 28 Aug 2015 at 7:14

GoogleCodeExporter commented 8 years ago
In contrast to my first observation the audio does not play fine. So basically 
everything is in slow motion.

To rule out that my wifi is causing problems, I have tried casting a Chrome tab 
with the non-WebRTC GoogleCast Chrome extension, which works fine.

Original comment by kapejod@gmail.com on 28 Aug 2015 at 7:22

GoogleCodeExporter commented 8 years ago
Just to make sure i tested this on a different chromecast without wifi (using 
usb ethernet instead), but the result is the same (slow motion).

Original comment by kapejod@gmail.com on 28 Aug 2015 at 8:29