Comments (5)
This happens because we are not closing properly the WebSocket connection.
There is no close handshake send to the server (FIN + ACK). So in the server point of view, we are still connected. Next when we try to publish again, we are receiving an error message indicating that this account is already publishing.
Some refactoring on the WebSocket part will be needed. Waiting for a proper fix, we now disconnect correctly when we are receiving an error message.
from obs-studio-webrtc.
from obs-studio-webrtc.
Noted @agouaillard-cosmo
This issue has been fixed with the commit 5e2ae36
from obs-studio-webrtc.
from obs-studio-webrtc.
We now unpublish the stream before closing the connection to the Millicast's servers.
- Compile and run OBS
- Fill up Millicast credentials field.
- Start publishing.
- Open a viewer client to get the stream.
- Stop publishing.
- Start publishing again, there is no error anymore.
- Refresh the viewer client and check if we correctly get the stream.
- Stop again, and start .. repeat...
from obs-studio-webrtc.
Related Issues (20)
- bulid webrtc dep HOT 1
- How do you handle errors HOT 1
- No Virtual Cam
- windows,推送webrtc出现错误
- Release 1.3.1 (OBS-Studio 27.2.4 WebRTC m100)在windows上安装提升NDI Runtime未找到
- Could NOT find LibWebRTC (missing: WEBRTC_INCLUDE_DIR) HOT 2
- OBS-Studio-webrtc 28.0.1 WebRTC m104 -Windows - libwebrtc error
- WebRTCStream.cpp error at webrtc::VideoType::kNV12 in [OBS-studio-webrtc m104-28.0.1]
- Failed to connect to server: there was a problem connecting to your room HOT 1
- Possible issue with latest OBS WebRTC release
- Crashing on every "Stop Stream" HOT 1
- install-dependencies-win can't get CEF
- Crashing on every "Start Stream" HOT 1
- The 'obs outputs' module could not be loaded
- Incorrect color interpretation when streaming via WebRTC HOT 11
- SDP handshake?
- I want install Advanced Scene Switcher in UBUNTU HOT 1
- OBS Memory Usage Issue HOT 3
- Should this be killed off
- [Menu Option Disappear] obs-websocket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-studio-webrtc.