You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, using the streamer example I'm able to stream my 3D engine to a browser. I works perfectly both on Windows and on Linux locally. However, in a docker infrastructure using host networking it is not working and I have no idea why...
Here is the log:
2023-09-13 12:46:29.135 INFO [411] [rtc::impl::PeerConnection::changeSignalingState@1197] Changed signaling state to have-local-offer
2023-09-13 12:46:29.135 INFO [411] [rtc::impl::PeerConnection::changeGatheringState@1184] Changed gathering state to in-progress
2023-09-13 12:46:29.135 INFO [411] [rtc::impl::IceTransport::LogCallback@362] juice: agent.c:1065: Changing state to gathering
Gathering State: in-progress
2023-09-13 12:46:29.136 INFO [411] [rtc::impl::IceTransport::LogCallback@362] juice: agent.c:1065: Changing state to connecting
2023-09-13 12:46:29.136 INFO [411] [rtc::impl::PeerConnection::changeState@1166] Changed state to connecting
2023-09-13 12:46:29.136 INFO [411] [rtc::impl::IceTransport::LogCallback@362] juice: agent.c:2382: Candidate gathering done
2023-09-13 12:46:29.136 INFO [411] [rtc::impl::PeerConnection::changeGatheringState@1184] Changed gathering state to complete
State: connecting
WebRTCServer created PeerConnection for client ZetTXqnahb
Gathering State: complete
2023-09-13 12:46:29.136 DEBUG [422] [rtc::impl::WsTransport::sendFrame@344] WebSocket sending frame: opcode=1, length=1407
2023-09-13 12:46:29.164 DEBUG [436] [rtc::impl::WsTransport::recvFrame@279] WebSocket received frame: opcode=1, length=1638
2023-09-13 12:46:29.164 DEBUG [436] [rtc::impl::WsTransport::recvFrame@295] WebSocket finished message: type=text, length=1638
2023-09-13 12:46:29.164 INFO [411] [rtc::impl::IceTransport::LogCallback@362] juice: agent.c:2366: Connectivity timer started
2023-09-13 12:46:29.165 INFO [411] [rtc::impl::PeerConnection::changeSignalingState@1197] Changed signaling state to stable
WebRTCServer updated remoteDescription of client ZetTXqnahb
2023-09-13 12:46:29.165 INFO [462] [rtc::impl::IceTransport::LogCallback@362] juice: agent.c:1065: Changing state to connected
2023-09-13 12:46:29.165 INFO [462] [rtc::impl::PeerConnection::initDtlsTransport@246] This connection requires media support
2023-09-13 12:46:29.165 DEBUG [462] [rtc::impl::DtlsTransport::DtlsTransport@730] Initializing DTLS transport (OpenSSL)
2023-09-13 12:46:29.166 DEBUG [462] [rtc::impl::DtlsSrtpTransport::DtlsSrtpTransport@57] Initializing DTLS-SRTP transport
2023-09-13 12:46:29.166 DEBUG [462] [rtc::impl::DtlsTransport::start@827] Starting DTLS transport
2023-09-13 12:46:29.220 INFO [419] [rtc::impl::DtlsTransport::doRecv@950] DTLS handshake finished
2023-09-13 12:46:29.220 INFO [419] [rtc::impl::DtlsSrtpTransport::postHandshake@290] Deriving SRTP keying material (OpenSSL)
2023-09-13 12:46:29.220 DEBUG [419] [rtc::impl::DtlsSrtpTransport::postHandshake@296] SRTP profile is: SRTP_AEAD_AES_256_GCM
2023-09-13 12:46:29.220 ERROR [419] [rtc::impl::DtlsTransport::doRecv@978] DTLS recv: SRTP add inbound stream failed, status=2
2023-09-13 12:46:29.220 ERROR [419] [rtc::impl::DtlsTransport::doRecv@986] DTLS handshake failed
2023-09-13 12:46:29.220 INFO [419] [rtc::impl::PeerConnection::changeState@1166] Changed state to failed
State: failed
2023-09-13 12:46:29.220 INFO [426] [rtc::impl::PeerConnection::changeState@1166] Changed state to closed
State: closed
2023-09-13 12:46:29.220 DEBUG [426] [rtc::impl::DtlsTransport::stop@850] Stopping DTLS transport
2023-09-13 12:46:29.220 DEBUG [426] [rtc::impl::DtlsTransport::stop@850] Stopping DTLS transport
2023-09-13 12:46:29.220 DEBUG [426] [rtc::impl::DtlsTransport::stop@850] Stopping DTLS transport
It looks like libsrtp does not have GCM support and therefore can't use the SRTP_AEAD_AES_256_GCM cipher, which libdatachannel attempts to negotiate as it is built with OpenSSL. A possibility is that you have built libdatachannel using the system libsrtp, but libsrtp in the container has no GCM support (for instance it was built without OpenSSL).
Hello, using the streamer example I'm able to stream my 3D engine to a browser. I works perfectly both on Windows and on Linux locally. However, in a docker infrastructure using host networking it is not working and I have no idea why...
Here is the log:
Here is the offer:
Here is the answer:
Here is openssl version:
3.0.2
Thank you in advance for the help
The text was updated successfully, but these errors were encountered: