Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
69 Views

room.publish without video

Jump to solution

Hello !

My problem in js sdk, code:
room = Woogeen.ConferenceClient.create();
localStream = Woogeen.LocalStream.create({video:false, audio: true}, function(err, str){
    if (!err) room.publish(str, {}, function(st) {
     console.log('publish: ok');
    }, function(err) {
     console.log('publish error: '+ err);
    });
});

And i get error: "peer connection failed".

Log from server:
2015-12-10 14:51:28,007  - INFO: WebRtcConnection - Update Transport State audio to 4
2015-12-10 14:51:28,007  - INFO: WebRtcConnection - WebRtcConnection failed, stopping sending
2015-12-10 14:51:28,007  - INFO: WebRtcConnection - WebRtcConnection failed, stopped sending
2015-12-10 14:51:28.008  - INFO: ErizoJSController - webrtc Addon status 500
2015-12-10 14:51:34.062  - INFO: ErizoJSController - Removing muxer TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34,062  - DEBUG: mcu.WebRTCGateway - closeAll
2015-12-10 14:51:34,062  - INFO: WebRtcConnection - WebRtcConnection Destructor
2015-12-10 14:51:34,062  - INFO: NiceConnection - audio - NICE State Changing from 5 to 4 0x1172690
2015-12-10 14:51:34.062  - INFO: ErizoJSController - Removing subscribers TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34.062  - INFO: ErizoJSController - Removing publisher TMVbHhijkZyzVm32AABt
2015-12-10 14:51:34.062  - INFO: ErizoJSController - Publishers: 0
2015-12-10 14:51:34.063  - INFO: ErizoJSController - Removed all publishers. Killing process.


If change video options for camera and resolution in Woogeen.LocalStream.create - this work.
Maybe i wrong or this method without video dont work ?

Tags (2)
0 Kudos

Accepted Solutions
Highlighted
69 Views
Here comes our hotfix: Download the attachment "liberizo.zip", unzip it and replace the liberizo.so file in your "lib" folder with the new one. Have a try. Thanks!

View solution in original post

0 Kudos
8 Replies
Highlighted
Beginner
69 Views

Yeap, Erizo dont work if sdp from client not set video part.

Sdp from client with video: false


o=- 2138611554987938911 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS gYNJX9GE4xFTcK9vD2KkqdoPQSBbpxY2kPmH
m=audio 50190 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 *IP*
a=rtcp:50195 IN IP4 *IP*
*candidate part*
a=ice-ufrag:/RLiikNLo2YKJ2YP
a=ice-pwd:Qibbg8/h6llMtqwl+HVPj9Q6
a=fingerprint:sha-256 F1:71:55:C0:8A:A6:30:A4:EE:09:91:D2:60:69:50:AE:25:77:46:23:C6:7C:D2:3A:27:D2:32:4A:69:37:5A:BB
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:2018641374 cname:TXWDTMpWqlmECspO
a=ssrc:2018641374 msid:gYNJX9GE4xFTcK9vD2KkqdoPQSBbpxY2kPmH d551ccf4-941c-42f6-804b-2586170fdc04
a=ssrc:2018641374 mslabel:gYNJX9GE4xFTcK9vD2KkqdoPQSBbpxY2kPmH
a=ssrc:2018641374 label:d551ccf4-941c-42f6-804b-2586170fdc04

Sdp from client with unplug webcam and video: true

o=- 1836305277626995815 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS
m=audio 53710 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
c=IN IP4 *IP*
a=rtcp:53715 IN IP4 *IP*
*candidate part*
a=ice-ufrag:IRh71Hq3lL0tWoGq
a=ice-pwd:Vb1XF7eDa5HQZaePoh5Scaog
a=fingerprint:sha-256 F1:71:55:C0:8A:A6:30:A4:EE:09:91:D2:60:69:50:AE:25:77:46:23:C6:7C:D2:3A:27:D2:32:4A:69:37:5A:BB
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
m=video 53720 UDP/TLS/RTP/SAVPF 100 116 117 96
c=IN IP4 *IP*
a=rtcp:53725 IN IP4 *IP*
*candidate part*
a=ice-ufrag:IRh71Hq3lL0tWoGq
a=ice-pwd:Vb1XF7eDa5HQZaePoh5Scaog
a=fingerprint:sha-256 F1:71:55:C0:8A:A6:30:A4:EE:09:91:D2:60:69:50:AE:25:77:46:23:C6:7C:D2:3A:27:D2:32:4A:69:37:5A:BB
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=recvonly
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100

Result: chrome without webcam anything generate sdp with video part, and this work, but if set video: false in GUM, chrome generate sdp without video part and this dont work with intel webrtc sdk.

0 Kudos
Highlighted
69 Views

Hi Bryan,

Are you using the latest Chrome 47?

0 Kudos
Highlighted
Beginner
69 Views

Hi Chunbo!

Yes, version 47.0.2526.80 m

0 Kudos
Highlighted
69 Views

OK. This is a known issue with the latest version, and we are working on the fix currently.

Thanks!

0 Kudos
Highlighted
Beginner
69 Views

Answer sdp on a=group:BUNDLE have missing audio word, have to be "a=group:BUNDLE audio" , now its empty ("a=group:BUNDLE"). This why Chrome M47 gives error on setting remote description.

Regards,

Tadas Strasevicius

0 Kudos
Highlighted
70 Views
Here comes our hotfix: Download the attachment "liberizo.zip", unzip it and replace the liberizo.so file in your "lib" folder with the new one. Have a try. Thanks!

View solution in original post

0 Kudos
Highlighted
Beginner
69 Views

CHUNBO H. (Intel) wrote:

Here comes our hotfix: Download the attachment "liberizo.zip", unzip it and replace the liberizo.so file in your "lib" folder with the new one.

Have a try.
Thanks!

Hello, Its work. Thanks for a  fix,

0 Kudos
Highlighted
69 Views

Great to hear that!

0 Kudos