Firewall port (ranges) for webrtcbin?

Matthew Waters ystreet00 at gmail.com
Mon Aug 30 16:25:17 UTC 2021


You cannot.  You have to upgrade GStreamer to enable be able to retrieve 
the ice-agent.

Cheers
-Matt

On 30/8/21 8:30 pm, Florian Echtler via gstreamer-devel wrote:
> Thanks, that should be the right direction, but apparently my 
> webrtcbin doesn't have an ice-agent property?
>
> Here's the list of properties I get:
>
> [<GParamString 'name'>, <GParamObject 'parent'>, <GParamBoolean 
> 'async-handling'>, <GParamBoolean 'message-forward'>, <GParamEnum 
> 'connection-state'>, <GParamEnum 'signaling-state'>, <GParamEnum 
> 'ice-gathering-state'>, <GParamEnum 'ice-connection-state'>, 
> <GParamBoxed 'local-description'>, <GParamBoxed 'remote-description'>, 
> <GParamString 'stun-server'>, <GParamString 'turn-server'>, 
> <GParamEnum 'bundle-policy'>, <GParamEnum 'ice-transport-policy'>]
>
> So how do I get the (N)ICE agents?
>
> Best, Florian
>
> On 27/08/2021 15:20, Nicolas Dufresne wrote:
>> Le vendredi 27 août 2021 à 13:06 +0200, Florian Echtler via 
>> gstreamer-devel a
>> écrit :
>>> Hello everyone,
>>>
>>> I can't really find any information on what UDP port ranges 
>>> webrtcbin from
>>> 1.16.2 will use. Obviously, I need 3478 for STUN, but what else?
>>
>> By default, there is no specific range. WebRTC will of-course need to 
>> access
>> external resource like STUN or in worst cases TURN servers, your 
>> signalling will
>> likely need HTTP on port 80/443, but ICE protocol will try and manage 
>> punching a
>> whole through your firewall assuming it's configured adequately 
>> (automatically
>> open UDP socket return port).
>>
>> If you still need to control the range, you'll have to get access to 
>> the ICE
>> agent, and configure it, see nice_agent_set_port_range().
>>
>>>
>>> Thanks and best, Florian
>>
>>
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210831/817e1e33/attachment.sig>


More information about the gstreamer-devel mailing list