0

Connection has been Closed!

Running your broadcast examples from broadcast.jsp?host=mySecureDomain

Or from your testing examples:

https://mySecureDomain:5443/webrtcexamples/testbed-menu.html

I get always Immediately  this error: Connection has been Closed!

Here is my log:

Event Log:clear
[Red5ProPublisher] configuration ->
{
protocol: wss
port: 8083
app: live
streamMode: live
mediaElementId: red5pro-publisher
iceServers:
{
0:
{
urls: stun:stun2.l.google.com:19302
}
}
iceTransport: udp
bandwidth:
{
audio: 56
video: 750
}
mediaConstraints:
{
audio: true
video:
{
width:
{
min: 640
max: 640
}
height:
{
min: 480
max: 480
}
frameRate:
{
min: 8
max: 24
}
}
}

onGetUserMedia: function () { return new Promise(function (resolve, reject) { if (publisher && publisher.getMediaStream()) { var stream = publisher.getMediaStream(); stream.getTracks().forEach(function(track) { track.stop(); }); } navigator.mediaDevices.getUserMedia(baseConfiguration.mediaConstraints) .then(function (stream) { resolve(stream); }) .catch(function (error) { reject(error); }); }); }
host: red5.adallsys.co.il
streamName: testStream1
}
[Red5ProPublisher] Connect.Success.
[Red5ProPublisher] WebRTC.PeerConnection.Available.
[Red5ProPublisher] WebRTC.Offer.Start.
[Red5ProPublisher] WebRTC.Offer.End.
[Red5ProPublisher] WebRTC.IceTrickle.Complete.
[Red5ProPublisher] Publisher.Connection.Closed.

 

What can cause this problem?

Thenks

Cheinan

2 comments

Please sign in to leave a comment.