licode icon indicating copy to clipboard operation
licode copied to clipboard

Can't stream video only stream with Chrome 47

Open ivopavlik opened this issue 11 years ago • 8 comments

After my Chrome (Windows 8.1) was updated, I can't broadcast stream without audio. Candidates are gathered, but no stream is available in room.remoteStreams.

ivopavlik avatar Dec 03 '15 13:12 ivopavlik

I'm having the same issue. I wonder if this is a licode bug or a Chrome bug? It worked fine in Chrome 46.

I opened an issue with the Chromium guys: https://code.google.com/p/chromium/issues/detail?id=564883

j4y avatar Dec 03 '15 15:12 j4y

I've also confirmed that you can't stream with audio only.

j4y avatar Dec 03 '15 17:12 j4y

My tests with Chrome 47 (note: if you want to use getUserMedia, HTTPS is required): Licode basic sample (also with test connection functionality) worked fine when both, audio and video are available. When I set constraints audio (or video) to false, no media data were transferred. I tried the same on machine with camera only (no microphone is available). It was because I wanted to try https://opentokrtc.com/, where it is quite difficult to affect constraints for getUserMedia. As I supposed, no media information was transferred within Licode. For https://opentokrtc.com/ everything was OK.

So I don't think this is a Chrome issue.

ivopavlik avatar Dec 04 '15 08:12 ivopavlik

I have tested on HTTPS with Chrome 47. And success to access to local media. But I get error in console ; https://xxx.com:8080/socket.io/1/?t=1449226725925 net::ERR_CONNECTION_CLOSED How to fix it?

prospdragon avatar Dec 04 '15 11:12 prospdragon

ErizoController doesn't need to run. Otherwise, have you set value config.erizoController.listen_ssl (also with config.erizoController.ssl) to true. You should request page on port 3004 instead of 3001. If you don't have valid certificate, first in the session call https://:8080/socket.io/ and confirm certificate exception.

ivopavlik avatar Dec 04 '15 11:12 ivopavlik

I fixed this issue as change licode_config.js Thank you @ivopavlik

prospdragon avatar Dec 04 '15 13:12 prospdragon

Note that there is an error sent to STDOUT when running Chrome 47 in debug mode.

[42142:4935:1204/114557:ERROR:webrtcsession.cc(337)] Failed to set remote answer sdp: Failed to enable BUNDLE.

From what I understand BUNDLE is when use the same port is used for sending video and audio packets. The packets are determined to be audio or video by inspecting the SSRC ids

j4y avatar Dec 04 '15 17:12 j4y

In understand #381 also fixes this

lodoyun avatar Dec 09 '15 15:12 lodoyun