Skip to content

Consider providing a way to adjust webrtc bandwidth in the SDK #383

@atsakiridis

Description

@atsakiridis

That way we can avoid costs especially in Cellular Data type of scenarios. I think the idea here to use the SDP b-line. For example to enforce a 125 Kbps here's how it's done:

v=0
o=- 7846613599717303908 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE video
a=msid-semantic: WMS
m=video 50823 UDP/TLS/RTP/SAVPF 100 101 107 116 117 96 97 99 98
c=IN IP4 192.168.50.1
b=AS:125
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:1687526950 1 udp 2122260223 192.168.50.1 50823 typ host generation 0 network-id 2
...

For starters we could enforce it only once when the call starts (as a parameter to RCDevice.connect() most probably), but later we can add it as an option for re-negotiation

Some resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions