Hello All!
We are trying to interface Janus with Touchdesigner via gstreamer
So far we've been able to do the RTP-forward & Video Streaming, but are having trouble getting audio into the audiobridge plugin example.
Seemed to interface with API to create the rtp instance.
but can't seem to get external audio into it.
"janus" : "message",
"transaction" : "12345",
"body" : {
"request" : "join" ,
"room" : 1234,
"active" : true,
"muted" : false,
"secret" : "adminpwd",
"codec" : "opus",
"payload_type" : 100 ,
"display" : "jeffJoeOPUS",
"id" : 1123344,
"rtp" : { "ip" : "10.0.0.4", "port" : 8111,
"fec" : false
}
}
from handles:
{
"session_id": 622430824387935,
"session_last_activity": 273061572963,
"session_timeout": 1800,
"session_transport": "janus.transport.http",
"handle_id": 6234439410210544,
"loop-running": true,
"created": 272793930330,
"current_time": 273141713100,
"plugin": "janus.plugin.audiobridge",
"plugin_specific": {
"state": "inroom",
"room": 1234,
"id": 1123344,
"display": "jeffJoeOPUS",
"admin": true,
"muted": false,
"active": false,
"pre-buffering": true,
"prebuffer-count": 6,
"queue-out": -1,
"fec": false,
"plain-rtp": {
"local-ip": "162.193.105.237",
"local-port": 10008,
"remote-ip": "10.0.0.4",
"remote-port": 8111
},
"started": false,
"hangingup": false,
"destroyed": false
},
"flags": {
"got-offer": false,
"got-answer": false,
"negotiated": false,
"processing-offer": false,
"starting": false,
"ice-restart": false,
"ready": false,
"stopped": false,
"alert": false,
"trickle": false,
"all-trickles": false,
"resend-trickles": false,
"trickle-synced": false,
"data-channels": false,
"has-audio": false,
"has-video": false,
"new-datachan-sdp": false,
"rfc4588-rtx": false,
"cleaning": false,
"e2ee": false
},
"sdps": {},
"queued-packets": 0
}
And our Gstreamer cmd:
gst-launch-1.0 rtspsrc location=rtsp://
10.0.0.4:8555/tdaudio latency=0 ! rtpmpadepay ! mpegaudioparse ! mpg123audiodec ! audioconvert ! audioresample ! opusenc ! rtpopuspay pt=100 ! udpsink host=162.193.105.237 port=8111
Have tried localhost, 127.0.0.1, and port = 10008, in various combinations with pcma & pcmu, but haven't been successful.
None of the Flags have ever gone true, unless we force a "got-offer'
I'm sure we've missed something simple, but can't seem to figure it out.
Help?