Ich versuche, jede neue Sitzung/Benutzer zu RTCMultiConnection hinzugefügt.
ich die folgende Demo url bin mit in Anwendung https://rtcmulticonnection.herokuapp.com/demos/Audio+Video+TextChat+FileSharing.htmlstartRecording funktioniert nicht mit RecordRTC mit RTCMultiConnection
Jetzt habe ich den folgenden CDN Verweis auf den Code hinzugefügt. https://cdn.webrtc-experiment.com/RecordRTC.js
und das ist der Code, mit dem ich arbeite, aber connection.streams[event.streamid].startRecording();
funktioniert nicht.
// ..................RTCMultiConnection Code............. // ...................................................... var connection = new RTCMultiConnection(); var btnStopRec = document.getElementById("btnStopRecording"); connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/'; connection.enableFileSharing = true; connection.session = { audio: true, video: true, data: true, }; connection.sdpConstraints.mandatory = { OfferToReceiveAudio: true, OfferToReceiveVideo: true, }; connection.onstream = function (event) { document.body.appendChild(event.mediaElement); console.log("stream recording starts") connection.streams[event.streamid].startRecording(); console.log("stream recording started") }
danke bro ... tusee großes Heu ... :) –