Hi
And, I added two test users and sounded environmental sound.After that, rtp_forward was added with the following curl query using the admin function.
curl -k -H "Content-Type: application/json" -X POST -d '{"body":{"request":"rtp_forward","publisher_id":3153615434288867,"room": 1234, "host":"127.0.0.1","port":5000,"secret":"adminpwd" }, "janus":"message","apisecret" : "janusrocks","transaction":"o4vup0qoomd"}'
https://localhost:9089/janus/6450635431658468/7252218939327619
The following results are obtained.
publisher id :566295274170768
{
"janus": "success",
"session_id": 2768287721894382,
"sender": 168860933099443,
"transaction": "o4vup0qoomd",
"plugindata": {
"plugin": "janus.plugin.audiobridge",
"data": {
"audiobridge": "success",
"room": 1234,
}
}
}
I have created the following test.sdp file.
I think that the content of the sdp file is largely wrong because it is picked up from the sdp answer packet connected to the audiobridgetest.
v=0
o=- 1487838015334902 1487838015334902 IN IP4 127.0.0.1
s=Demo Room
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS janus
m=audio 5000 UDP/TLS/RTP/SAVPF 111
c=IN IP4 127.0.0.1
a=sendrecv
a=mid:audio
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 maxplaybackrate=16000; stereo=0; sprop-stereo=0; useinbandfec=0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
I confirmed the result with ffplay to get the result of rtp, but I could not receive anything(no data...).
Could you give me some advice?
Sometimes it seems to cause SEGV when building and running the latest master.Is it related to this problem?
ffplay -protocol_whitelist "file,udp,rtp" test.sdp