Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Stream subscribe: OpenSSLStreamAdapter::Read(2048) -- error want read

htnik_h_
Beginner
462 Views

Currently trying to get to work C++ version of WebRTC for Windows. The conference server have invalid SSL sertificate, so connecting to it using HTTPS don't work. However, connecting using HTTP works, but subscribing to RemoteSrtream does not allow to receive video data from the server - frames are just not sent. I checked the logs and found, what one of the methods prints error diagnostics:

OpenSSLStreamAdapter::Read(2048) (opensslstreamadapter.cc:608): -- error want read

Is this problem can be caused by invalid SSL sertificate?

The log fragment is following. Some messages are produced by my code, like

Subscribe succeeded!
Attaching video renderer to remote stream id:
Video renderer attached to remote stream.

others are debug messages from libraries (starting from line 850):

Subscribe succeeded!
(webrtcsession.cc:1466): Changing IceConnectionState 2 => 3
Attaching video renderer to remote stream id:..
(conferencepeerconnectionchannel.cc:169): Ice connection state changed: 3
(srtpfilter.cc:149): SRTP activated with negotiated parameters: send cipher_suite 1 recv cipher_suite 1
(channel.cc:1505): Changing voice state, recv=1 send=0
(channel.cc:817): Channel writable (video) for the first time
(channel.cc:825): Using Cand[:4228843148:1:udp:1853824767:128.71.111.190:57719:prflx:192.168.0.100:57719:G+TKovb4O+0pLYDW:+eG7E474Ck7bXXGfQrzI8FV/:1:0]->Cand[:1:1:udp:2013266431:52.78.15.236:41076:local::0:z0X7:f4chCi47qKDPLozuN5+yWZ:0:0]
(channel.cc:882): Installing keys from DTLS-SRTP on video RTP
(srtpfilter.cc:149): SRTP activated with negotiated parameters: send cipher_suite 1 recv cipher_suite 1
(webrtcvideoengine2.cc:1001): SetSend: false
(channel.cc:1737): Changing video state, send=0
(opensslstreamadapter.cc:553): OpenSSLStreamAdapter::Read(2048)
(opensslstreamadapter.cc:608): -- error want read
(stream.cc:119): Attached the stream to a renderer.
(port.cc:1049): Jingle:Conn[06271108:audio:IbxSau3+:1:0:prflx:udp:128.71.111.190:57719->IMAqazjy:1:2013266431:local:udp:52.78.15.236:41076|CRWS|7962116750806352894|1155]: UpdateState(), ms since last received response=845, ms since last received data=132, rtt=2310, pings_since_last_response=
Video renderer attached to remote stream.

0 Kudos
2 Replies
htnik_h_
Beginner
462 Views

This problem was fixed after updating server from version 3.1 to version 3.21, client worked in 3.21 from the start.

0 Kudos
Lei_Z_Intel1
Employee
462 Views

Nice to hear that v3.2.1 finally helped you.

0 Kudos
Reply