0

Encountering error when viewing WebRTC stream from RTMP source

I assume I am having some issue DTLS when playing back a WebRTC stream from my RTMP publisher. The webrtc demo page begins the ice process, but no error is reported from the web page. I do see the following error in the JAVA script logs.

 

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-2] com.red5pro.server.stream.Red5ProConnManager - LicenseManager max connections: 10 limit counter: 2 true

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-2] com.red5pro.server.stream.Red5ProConnManager - Adding session id: ULKICFVEXXPE1    RTCConnection

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-2] com.infrared5.red5pro.live.Red5ProLive - W3C x-category:session x-event:connect c-ip:76.171.5.134 c-client-id:4-subscriber-db60

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-3] com.infrared5.red5pro.live.Red5ProLive - isPlaybackAllowed /live mystream

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-3] com.red5pro.server.util.NetworkManager - Public address: 54.219.97.147

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-3] com.red5pro.server.util.NetworkManager - Local address: 172.31.25.17

[WARN] [Terminator: d0aql1e6k2n7j1] org.ice4j.ice.HostCandidate - Wrapper from lookup: null current: IceUdpSocketWrapper [transportAddress=172.31.25.17:49206/udp, session=null]

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.io.rtp.RTPConnectorOutputStream - Transformer: com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer@41f8f5a8 ready? false

[WARN] [DtlsPktTxfmr.connect@subscriber-db60] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - Connect exception

java.lang.NoClassDefFoundError: Could not initialize class com.red5pro.io.rtp.transform.srtp.OpenSSLWrapper

at com.red5pro.io.rtp.transform.srtp.BaseSRTPCryptoContext.<init>(Unknown Source)

at com.red5pro.io.rtp.transform.srtp.SRTPCryptoContext.<init>(Unknown Source)

at com.red5pro.io.rtp.transform.srtp.SRTPContextFactory.<init>(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer.initializeSRTPTransformer(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.TlsServerImpl.notifyHandshakeComplete(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.AbstractTlsContext.handshakeComplete(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.DTLSServerProtocol.serverHandshake(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.DTLSServerProtocol.accept(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.DTLSServerProtocol.accept(Unknown Source)

at com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer.lambda$start$0(Unknown Source)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

[WARN] [RTPRecv@subscriber-db60] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - Packet not decrypted

[WARN] [RTPRecv@subscriber-db60] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - Packet not decrypted

[WARN] [RTPRecv@subscriber-db60] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - Packet not decrypted

[WARN] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.webrtc.stream.RTCBroadcastStream - DTLS establishment failed for: subscriber-db60 on mystream

[WARN] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.webrtc.stream.FlashToRTCTransformerStream - Subscriber RTCBroadcastStream [id=subscriber-db60, initialized=true, starting=true, sourceStreamName=mystream, scope=live] was not removed (may already be gone), subscribers: 0

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - close

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.io.rtp.transform.dtls.DtlsPacketTransformer - close - exit

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.jmfext.media.rtp.RTPSessionMgr - dispose

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.io.rtp.RTPConnectorOutputStream - close - bytes sent: 4295 messages sent: 26 message written: 20

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.jmfext.media.rtp.RTPSessionMgr - dispose

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.red5pro.server.stream.Red5ProConnManager - Remove ULKICFVEXXPE1

[INFO] [https-jsse-nio2-0.0.0.0-443-exec-1] com.infrared5.red5pro.live.Red5ProLive - W3C x-category:session x-event:disconnect c-ip:76.171.5.134 c-client-id:4-subscriber-db60

[INFO] [Connection Checker] com.red5pro.server.stream.Red5ProConnManager - Pro connections; Total count: 1, WebRTC ports allocated: 0, edge-proxy: 0, re-streamers: 0, sm-pulses:0

 

0 comments

Please sign in to leave a comment.