-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC: Support publish with pure video or audio stream. How to only publish video or only publish audio. #2513
Comments
The reason for the error is that when webrtc only pushes audio, encoding fails when encountering NACK. It should be that NACK is not handled properly.
|
I also want to know if the app's Flutter version has this bug. Thank you.
|
Welcome Patch.
|
Can you only push audio to HLS? It seems like there is no logic for segmenting and generating AAC in the code.
|
Has this problem been resolved now? Test it out. Webrtc only pushes audio, rtmp pulling is possible, but it takes about 7 seconds for rtmp to receive data.
|
Already fixed by #3964. To use this feature, should upgrade to latest SRS player, allowing user to select audio or video only. |
Description'
Please ensure that the markdown structure is maintained.
Reproduction:
Steps to reproduce the bug:
For example, if I only have a microphone and no camera, I can choose to only transmit audio. Here is an example of only transmitting audio:
srs.sdk.js
.2. At this point, WebRTC can transmit only audio and play pure audio. However, the RTMP stream cannot be played, and the third-party WebRTC (jswebrtc) cannot play it either.
3. If audio is commented out and only video is transmitted, WebRTC can transmit only video and play pure video. However, the RTMP stream has a large playback delay (about 6 seconds), the third-party WebRTC (jswebrtc) cannot play it, and it causes the SRS service to crash.
Expected Behavior (Expect)
Can push only video or only audio normally, and can play normally.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: