- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just downloaded ICS 4.0.1 package and installed in centos 7.3. Started the sample application, but the stream is not published. there are no errors. Just promise resolve of publish is not fired. If I provide wrong stream, it rejects it and error is shown.
var audioConstraintsForMic = new Ics.Base.AudioTrackConstraints(Ics.Base.AudioSourceInfo.MIC);
var videoConstraintsForCamera = new Ics.Base.VideoTrackConstraints(Ics.Base.VideoSourceInfo.CAMERA);
let mediaStream;
console.log('constraints', audioConstraintsForMic, videoConstraintsForCamera);
Ics.Base.MediaStreamFactory.createMediaStream(new Ics.Base.StreamConstraints(
audioConstraintsForMic, videoConstraintsForCamera)).then(stream => {
mediaStream = stream;
localStream = new Ics.Base.LocalStream(mediaStream, new Ics.Base.StreamSourceInfo('mic', 'camera'));
$('.local video').get(0).srcObject = stream;
console.log('localstream', localStream);
conference.publish(localStream).then(publication => {
console.log('stream published'); //-----------------------------> NOT BEING EXECUTED
mixStream(myRoom, publication.id, 'common');
publication.addEventListener('error', (err) => {
console.log('Publication error: ' + err.error.message);
});
}, err => {
console.error('not published', err);
});
}, err => {
console.error('Failed to create MediaStream, ' +
err);
});
- Tags:
- HTML5
- JavaScript*
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, we cannot reproduce this issue, could you provide more info like:
1. What's your browser and browser version
2. What's the network topology for MCU deployment and browser
3. Please open a tab and open chrome://webrtc-internals and dump webrtc internal information for us to debug
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page