Hello,
We are moving away from flash, especially for Chrome and I'm implementing WebRTC.
I made things work for one video from our server(ffmpeg producer to rtp and then to Janus). But I need to implement it for multiple videos on one page.
I create video object(if necessary) in the function: onremotestream: function (stream)
However there is no information in the stream to relate it to create request:
"request": "create",
"audio": false,
"description": "93Ik0w0G8VYOr7WTAXHNtO2XC",
"id": 3,
"name": "93Ik0w0G8VYOr7WTAXHNtO2XC",
"type": "rtp",
"video": true,
"videofmtp": "level-asymmetry-allowed=1;profile-level-id=42e01f;packetization-mode=1",
"videoport": 5026,
"videopt": 96,
"videortpmap": "H264/90000"
Is there a way to have id(3 from above) in either:
janusStream.getVideoTracks()[0]: MediaStreamTrack or
janusStream: MediaStream - janusStream.id ("janus")
instead of hardcoded string there janus or janussv0
If not can you please direct me to the source code where it can be added and I'll submit a pull request.
Thanks,
Olga Khylkouskaya.