Is it possible to publish multiparty conference to rtmp using wcs?
Currently I am simply following the docs here https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-developer-guide-2/ (video conference/web sdk)
The video conference works as expected.
But if I try to use the rtmp publishing code with it(whcih looks like:
Above code (when combined with event handlers so that a button click invokes above rtmp publishing code) asks for camera and microphone permissions again.
It should ideally use the ongoing conference's stream(from the localVideo div which shows the relevant video frame).
So how should I go about it?
Currently I am simply following the docs here https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-developer-guide-2/ (video conference/web sdk)
The video conference works as expected.
But if I try to use the rtmp publishing code with it(whcih looks like:
Code:
function startStreaming(session){
session.createStream({
name: streamName,
display: localVideo,
cacheLocalResources: true,
receiveVideo: false,
receiveAudion: false,
rtmpUrl : myRtmpUrl
}).on(STREAM_STATUS.PUBLISHING,.......)
//.....
.publish();
}
It should ideally use the ongoing conference's stream(from the localVideo div which shows the relevant video frame).
So how should I go about it?