I am very new to Janus, and is still exploring the pieces of features.
I have connecting to a remote video streaming server, where publisher is publishing video feed.
I have managed to attatched to the streaming plugin and starting to receiving video successfully, that all went ok.
The problem begins, whenever I start to see the publisher’s video, after about 2 seconds, I got a “close PC” or “hangup” message from Janus and then I lose the video feed even tough I was able to see the video streaming 2 seconds ago. It seems to me that there is some machnism that somehow falsely identified that I was not successfully connect to the feed and close it on purpose. I have been struggled with it quite a while.
The chain of messages between my side and Janus are as followed:
{"janus":"create","transaction":"IhQCMND4y2cD"}
{
"janus": "success",
"transaction": "IhQCMND4y2cD",
"data": {
"id": 1127171397188461
}
}
{"janus":"attach","plugin":"janus.plugin.streaming","opaque_id":"streamingtest-wNGpmsIrm2C7","transaction":"u8CxkN0xB9BT","session_id":1127171397188461}
{
"janus": "success",
"session_id": 1127171397188461,
"transaction": "u8CxkN0xB9BT",
"data": {
"id": 3098699833584009
}
}
{
"janus": "event",
"session_id": 1127171397188461,
"transaction": "1643898115753",
"sender": 3098699833584009,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "preparing"
}
}
},
"jsep": {
"type": "offer",
"sdp": "v=0rno=- 1643898115754570 1 IN IP4 35.221.175.230rns=Mountpoint 40534rnt=0 0rna=group:BUNDLE audio videorna=msid-semantic: WMS janusrna=ice-liternm=audio 9 UDP/TLS/RTP/SAVPF 111rnc=IN IP4 35.221.175.230rna=sendonlyrna=mid:audiorna=rtcp-muxrna=ice-ufrag:9p1Jrna=ice-pwd:QCREfYHJBaHIG0Q8zf77cMrna=ice-options:tricklerna=fingerprint:sha-256 C1:58:7D:C4:86:CA:57:72:B0:E2:71:1A:A0:12:68:BE:27:54:FC:6D:3F:90:57:2B:AA:0A:62:7A:51:10:EA:60rna=setup:actpassrna=rtpmap:111 opus/48000/2rna=extmap:1 urn:ietf:params:rtp-hdrext:sdes:midrna=msid:janus janusa0rna=ssrc:3743287120 cname:janusrna=ssrc:3743287120 msid:janus janusa0rna=ssrc:3743287120 mslabel:janusrna=ssrc:3743287120 label:janusa0rna=candidate:1 1 udp 2015363327 35.221.175.230 53621 typ hostrna=candidate:2 1 tcp 1015021823 35.221.175.230 0 typ host tcptype activerna=candidate:3 1 tcp 1010827519 35.221.175.230 56018 typ host tcptype passiverna=end-of-candidatesrnm=video 9 UDP/TLS/RTP/SAVPF 96 97rnc=IN IP4 35.221.175.230rna=sendonlyrna=mid:videorna=rtcp-muxrna=ice-ufrag:9p1Jrna=ice-pwd:QCREfYHJBaHIG0Q8zf77cMrna=ice-options:tricklerna=fingerprint:sha-256 C1:58:7D:C4:86:CA:57:72:B0:E2:71:1A:A0:12:68:BE:27:54:FC:6D:3F:90:57:2B:AA:0A:62:7A:51:10:EA:60rna=setup:actpassrna=rtpmap:96 VP8/90000rna=rtcp-fb:96 nackrna=rtcp-fb:96 nack plirna=rtcp-fb:96 goog-rembrna=extmap:1 urn:ietf:params:rtp-hdrext:sdes:midrna=rtpmap:97 rtx/90000rna=fmtp:97 apt=96rna=ssrc-group:FID 4082977519 4235320830rna=msid:janus janusv0rna=ssrc:4082977519 cname:janusrna=ssrc:4082977519 msid:janus janusv0rna=ssrc:4082977519 mslabel:janusrna=ssrc:4082977519 label:janusv0rna=ssrc:4235320830 cname:janusrna=ssrc:4235320830 msid:janus janusv0rna=ssrc:4235320830 mslabel:janusrna=ssrc:4235320830 label:janusv0rna=candidate:1 1 udp 2015363327 35.221.175.230 53621 typ hostrna=candidate:2 1 tcp 1015021823 35.221.175.230 0 typ host tcptype activerna=candidate:3 1 tcp 1010827519 35.221.175.230 56018 typ host tcptype passiverna=end-of-candidatesrn"
}
}
{"janus":"message","body":{"request":"start"},"transaction":"nPnRCOBZQzv1","jsep":{"type":"answer","sdp":"v=0rno=- 7026294805116782648 2 IN IP4 127.0.0.1rns=-rnt=0 0rna=group:BUNDLE audio videorna=msid-semantic: WMSrnm=audio 9 UDP/TLS/RTP/SAVPF 111rnc=IN IP4 0.0.0.0rna=rtcp:9 IN IP4 0.0.0.0rna=ice-ufrag:MaEurna=ice-pwd:lia9FGQuqo+v80h72nCDEBf9rna=ice-options:tricklerna=fingerprint:sha-256 BF:7E:D4:08:36:39:06:2B:CC:C3:BD:BA:5A:7F:05:5F:37:D3:A6:7E:15:BE:31:41:6F:46:1A:88:C1:89:19:50rna=setup:activerna=mid:audiorna=extmap:1 urn:ietf:params:rtp-hdrext:sdes:midrna=recvonlyrna=rtcp-muxrna=rtpmap:111 opus/48000/2rna=fmtp:111 minptime=10;useinbandfec=1rnm=video 9 UDP/TLS/RTP/SAVPF 96 97rnc=IN IP4 0.0.0.0rna=rtcp:9 IN IP4 0.0.0.0rna=ice-ufrag:MaEurna=ice-pwd:lia9FGQuqo+v80h72nCDEBf9rna=ice-options:tricklerna=fingerprint:sha-256 BF:7E:D4:08:36:39:06:2B:CC:C3:BD:BA:5A:7F:05:5F:37:D3:A6:7E:15:BE:31:41:6F:46:1A:88:C1:89:19:50rna=setup:activerna=mid:videorna=extma
p:1 urn:ietf:params:rtp-hdrext:sdes:midrna=recvonlyrna=rtcp-muxrna=rtpmap:96 VP8/90000rna=rtcp-fb:96 goog-rembrna=rtcp-fb:96 nackrna=rtcp-fb:96 nack plirna=rtpmap:97 rtx/90000rna=fmtp:97 apt=96rn"},"session_id":1127171397188461,"handle_id":3098699833584009}
{"janus":"trickle","candidate":{"candidate":"candidate:1689702057 1 udp 2113937151 99f28e96-d337-4463-8546-edcd14f33bfd.local 51974 typ host generation 0 ufrag MaEu network-cost 999","sdpMid":"audio","sdpMLineIndex":0},"transaction":"tiPvtcliHkSg","session_id":1127171397188461,"handle_id":3098699833584009}
{"janus":"trickle","candidate":{"candidate":"candidate:1555759876 1 udp 2113932031 10286d80-a429-4a1b-be4e-07339783cc57.local 51975 typ host generation 0 ufrag MaEu network-cost 999","sdpMid":"audio","sdpMLineIndex":0},"transaction":"rK2L1WejLg5P","session_id":1127171397188461,"handle_id":3098699833584009}
{
"janus": "ack",
"session_id": 1127171397188461,
"transaction": "nPnRCOBZQzv1"
}
{
"janus": "event",
"session_id": 1127171397188461,
"transaction": "nPnRCOBZQzv1",
"sender": 3098699833584009,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "starting"
}
}
}
}
{
"janus": "ack",
"session_id": 1127171397188461,
"transaction": "tiPvtcliHkSg"
}
{
"janus": "ack",
"session_id": 1127171397188461,
"transaction": "rK2L1WejLg5P"
}
{"janus":"trickle","candidate":{"completed":true},"transaction":"LuArLGeV7CJ8","session_id":1127171397188461,"handle_id":3098699833584009}
{
"janus": "ack",
"session_id": 1127171397188461,
"transaction": "LuArLGeV7CJ8"
}
{
"janus": "event",
"session_id": 1127171397188461,
"sender": 3098699833584009,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "started"
}
}
}
}
{
"janus": "webrtcup",
"session_id": 1127171397188461,
"sender": 3098699833584009
}
{
"janus": "event",
"session_id": 1127171397188461,
"transaction": "1643898121836",
"sender": 3098699833584009,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "stopping"
}
}
}
}
{
"janus": "hangup",
"session_id": 1127171397188461,
"sender": 3098699833584009,
"reason": "Close PC"
}
{"janus":"keepalive","session_id":1127171397188461,"transaction":"sBZVncmW3NNi"}
{
"janus": "ack",
"session_id": 1127171397188461,
"transaction": "sBZVncmW3NNi"
}
pictures of messages exchanges are attched:Message exchange log picture
Any suggestion on how to look for that issue? As I am not able to login to the server side, please assume I cannot see any server log…. Sorry…
Any thing that help are appriciated!!!