Hello Daniel,

this is not new API

And it will not help
We can record streams already (for a long time)
but this is useless due to we need screen-sharing streams in
conference/presentation rooms


On Tue, 22 Dec 2020 at 15:23, Daniel Baker <[email protected]>
wrote:

> Things  may  have  changed  with   *recordRTC  :*
>
>
>
> "If you want to auto record then you can use recordRTC when your
> connection is established.
> for example:
>
> var connection = new RTCMultiConnection();
>  var video = document.querySelector('#video')
> // this line is VERY_important
> connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/';
>
> // if you want audio+video conferencing
>  connection.session = {
>            audio: true,
>            video: true,
>            oneway: true
>           };
> connection.mediaConstraints = {
>          video: true,
>          audio: true
>        };
> connection.open('coach-stream')
>
>
>  connection.sdpConstraints.mandatory = {
>           OfferToReceiveAudio: false,
>           OfferToReceiveVideo: false
>         };
> connection.onstream=function(event){
>                             if( event.type === 'local' ){
>                                 video.addEventListener("pause", function(){
>                                     
> connection.streamEvents.selectFirst({local: true}).stream.mute();
>                                 });
>
>                                 video.addEventListener("play", function(){
>                                     
> connection.streamEvents.selectFirst({local: true}).stream.unmute();
>                                 });
>                         }
> video.srcObject = event.stream
>  var recorder = RecordRTC(event.stream, {type:'video'})
> recorder.startRecording();
>
> hope this helps. "
>
> *https://github.com/muaz-khan/WebRTC-Experiment/issues/639
> <https://github.com/muaz-khan/WebRTC-Experiment/issues/639>*
>
>
> Thanks,
>
> Dan
>
>
>
> On 14-Oct-19 8:40 AM, Maxim Solodovnik wrote:
>
> Hello Daniel,
>
> yes, user is required to:
> 1) start screen-sharing
> 2) select what to share (screen/application/tab etc.)
> Only then recording can be started
>
> it can't be automated
>
> Interview room can be recorded due to the fact there is no sharing in
> interview room
>
> On Fri, 11 Oct 2019 at 10:55, Daniel Baker <[email protected]>
> wrote:
>
>> If  it  explicitly  requires  user  input  to  record   then    we  can
>> add a  button for that on entering  the room -
>> " Enter & Record"
>>
>> On 10/11/2019 10:43 AM, Daniel Baker wrote:
>>
>> Is this  because  it  requires the  user / moderator  to   accept /
>> press   record ?    Does the browser  require  that  action ?
>> On 10/10/2019 11:46 PM, Maxim Solodovnik wrote:
>>
>> nope
>> only interview room can be auto recorded
>> there is no chance to start sharing/recording automatically
>>
>> On Thu, 10 Oct 2019 at 09:53, Daniel Baker <[email protected]>
>> wrote:
>>
>>> With the  new  libraries /  abilities  with  om 5  m3   are  we now
>>> able to automatically   record  sessions ?
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Dan
>>>
>>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>
> --
> WBR
> Maxim aka solomax
>
>

-- 
Best regards,
Maxim

Reply via email to