Increase bandwidth. #1613
Replies: 7 comments 10 replies
-
Hey @TroyDota Right now you can use REMB this is a message from Pion to the sender that instructs it to use a certain bitrate you can see that here I am working on add transport wide congestion control, this means the browser will always send the best bitrate and the developer doesn't need to do anything. I don't have an estimate for this yet. |
Beta Was this translation helpful? Give feedback.
-
Basically what my end goal is to play back a video from disk but it lags and shutters due to the bandwidth, at 500Kbps playback is fine. |
Beta Was this translation helpful? Give feedback.
-
using this command to transcode the audio and video into vp8 and opus the audio plays fine on stream but the video doesnt play at all. |
Beta Was this translation helpful? Give feedback.
-
As it turns out the socket has some sort of max limit. And the frame size is larger than the number of bytes left in the socket so it goes to a new iteration of the loop and then reads an invalid frame header on the next run due to the bytes of the pervious frame going over into the next iteration. |
Beta Was this translation helpful? Give feedback.
-
@TroyDota You are seeing packet loss because of congestion. If you send more then the network can handle WebRTC doesn't cache, it drops data. If you try this same video but over your local network it will work. Right now Pion WebRTC doesn't have built-in BWE (to tell you how much bitrate you have available) you can look at the receiver reports and get the percentage loss to generate yourself. |
Beta Was this translation helpful? Give feedback.
-
Also another unrelated note to this particular discussion, do you recommend using webrtc for pushing video around on servers (there can be no packet loss on these pushes)? Or should i resort to standard websocket? All servers have 1Gigabit upstream and some have 10Gigabit. |
Beta Was this translation helpful? Give feedback.
-
@TroyKomodo Have you found the solution for your problem (WebRTC doesn't support bit rate over 2 mbps) yet? I am having the exact same problem now. Even with the direct connection between client laptop and the server with static IP address, the bottom part of the video still shows blocks like the image you uploaded before. As you have verified, encoder, decoder and network bandwidth are not the cause of the problem. Seems like something in the PION server or Webrtc caused the video problem. |
Beta Was this translation helpful? Give feedback.
-
Hi, I was curious about how to increase the bandwidth on the WebRTC channel for higher quality video
Currently I can send 700Kbps at 60FPS and all 60frames make it to the client, but 700Kbps on 1080p video looks like trash.
if I send 2000Kbps the video plays back at ~ 1FPS.
🚀
Beta Was this translation helpful? Give feedback.
All reactions