|
|
@ -91,8 +91,8 @@ def disconnect(): |
|
|
|
def connect(): |
|
|
|
sid = request.sid |
|
|
|
print("Received Connect message from %s" % sid) |
|
|
|
socketio.emit('ready', room=ROOM, namespace='/webrtc', skip_sid=sid) |
|
|
|
join_room(ROOM) |
|
|
|
if not webrtccamera.connected: |
|
|
|
webrtccamera.connect(socketio, ROOM, 'gstwebrtc1000') |
|
|
|
|
|
|
|
#socketio.emit('ready', room=ROOM, namespace='/webrtc', skip_sid=sid) |
|
|
|
socketio.emit('ready', room=ROOM, namespace='/webrtc') |
|
|
|
join_room(ROOM) |
|
|
|