Track Problem #707
Unanswered
mkemalgokce
asked this question in
Q&A
Replies: 1 comment 4 replies
-
It looks like the browser sends media for different track. How do you handle the media on browser side? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i want to send video from browser (with javascript) on C++ libdatachannel.
My connection completed like below.
2022-08-21 01:31:42.170 INFO [50857] [rtc::impl::DtlsTransport::runRecvLoop@576] DTLS handshake finished 2022-08-21 01:31:42.170 INFO [50857] [rtc::impl::DtlsSrtpTransport::postHandshake@266] Deriving SRTP keying material (OpenSSL) 2022-08-21 01:31:42.170 VERB [50843] [rtc::impl::IceTransport::LogCallback@354] juice: Entering poll on 1 sockets for 10000 ms 2022-08-21 01:31:42.170 INFO [50857] [rtc::impl::PeerConnection::changeState@1132] Changed state to connected
But track not working, i cant get any data with track. But some logs(like below), they said i am receiving some datas. When connection is completed, i took these datas like every second. How can i get these datas with tracker or something ?
2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::IceTransport::LogCallback@354] juice: Received application datagram 2022-08-21 02:04:11.913 VERB [55639] [rtc::impl::DtlsSrtpTransport::recvMedia@174] Incoming SRTP packet, size=46 2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::IceTransport::RecvCallback@327] Incoming size=1058 2022-08-21 02:04:11.913 VERB [55639] [rtc::impl::DtlsSrtpTransport::recvMedia@188] Unprotected SRTP packet, size=36 2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::DtlsTransport::incoming@513] Incoming size=1058 2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::IceTransport::LogCallback@354] juice: Receiving datagram 2022-08-21 02:04:11.913 VERB [55639] [rtc::impl::DtlsSrtpTransport::demuxMessage@212] Demultiplexing DTLS and SRTP/SRTCP with first byte, value=144 2022-08-21 02:04:11.913 VERB [55639] [rtc::impl::DtlsSrtpTransport::recvMedia@150] Demultiplexing SRTCP and SRTP with RTP payload type, value=97 2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::IceTransport::LogCallback@354] juice: No more datagrams to receive 2022-08-21 02:04:11.913 VERB [55558] [rtc::impl::IceTransport::LogCallback@354] juice: Bookkeeping... 2022-08-21 02:04:11.913 VERB [55639] [rtc::IsRtcp@49] Demultiplexing RTCP and RTP with payload type, value=97 192.168.0.18:52340
And also this is my tracker:
`
`
Beta Was this translation helpful? Give feedback.
All reactions