AzraelPwnz
New Member
Hello,
I am publishing a stream with success and starting a recording; however, I need to add audio tracks after a stream as been published.
How can I send a new (remote) SDP to the WebCallServer with the WebSockets API without having to republish the stream altogether? I would like to not have to interrupt a recording just to add an audio track.
So in summary, I would like to:
1. Connect. < -working
2. Negotiate and send video tracks to the peer (WebCallServer). <- working
3. Publish Stream <- working
4. Start Recording <- working
5. Add audio tracks to the peer (WebCallServer) connection <-not working
Adding the tracks on my side (at a later time) will trigger renegotiation, which is what is supposed to happen, but I cannot find a way in the Flashphoner documentation to send the new SDP to the Flashphoner Raw WebSockets API. The only two methods that take in the SDP are are Play and Publish methods, but I cannot re-publish a stream without my recording stopping and I would like it to be continuous.
I am publishing a stream with success and starting a recording; however, I need to add audio tracks after a stream as been published.
How can I send a new (remote) SDP to the WebCallServer with the WebSockets API without having to republish the stream altogether? I would like to not have to interrupt a recording just to add an audio track.
So in summary, I would like to:
1. Connect. < -working
2. Negotiate and send video tracks to the peer (WebCallServer). <- working
3. Publish Stream <- working
4. Start Recording <- working
5. Add audio tracks to the peer (WebCallServer) connection <-not working
Adding the tracks on my side (at a later time) will trigger renegotiation, which is what is supposed to happen, but I cannot find a way in the Flashphoner documentation to send the new SDP to the Flashphoner Raw WebSockets API. The only two methods that take in the SDP are are Play and Publish methods, but I cannot re-publish a stream without my recording stopping and I would like it to be continuous.
Last edited: