Opened 8 months ago

Last modified 8 months ago

#9163 new enhancement

Interactive Connectivity Establishment (ICE) support for WebRTC (RFC 5245)

Reported by: pocock Owned by:
Priority: wish Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I had a look through the documentation, code and issue tracker and I found support for RTP and SRTP but nothing about ICE.

Therefore, I'm opening this issue as a placeholder to track the requirement.

https://tools.ietf.org/html/rfc5245
https://en.wikipedia.org/wiki/Interactive_Connectivity_Establishment

Is anybody already working on this?

Does anybody have any ideas on how a volunteer should begin?

If anybody has examples of wrapping the ffmpeg code with some other library for ICE please feel free to share the links here, these may be useful workarounds for some users.

Change History (2)

comment:1 by Carl Eugen Hoyos, 8 months ago

Component: undeterminedavformat
Priority: normalwish
Version: 4.3.2git-master

I don't know if your enhancement requests are within the scope of FFmpeg or not.

comment:2 by pocock, 8 months ago

Thanks for the feedback, there is a similar feature in gstreamer now
https://gstreamer.freedesktop.org/documentation/webrtc/index.html?gi-language=c

Both DTLS-SRTP and ICE need to create and operate on the relevant media sockets where the streams are sent and received. Either

a) these protocols need to be integrated at that point in the stack, or

b) there needs to be a way to pass the socket to ffmpeg's srtp module if it is managed in another part of the application

Note: See TracTickets for help on using tickets.