Skip to content

SRTP protocol support #100390

@josuah

Description

@josuah

Summary

Moving media over the network requires a protocol in a way or another for:

  • Describing the media content in a way suitable for UDP (i.e. allowing packet loss)
  • Conventions over how encryption is setup

Zephyr RTOS does not currently support such feature as part of its ecosystem, and the current issue propose an initiative for a vendor-neutral implementation to integrate in any suitable way depending on how it turns out.

Describe the solution you'd like

Integrate the SRTP protocol, which is used for the main 3 media + network use-cases:

  • Telephony (it is the foundation of the SIP protocol stack)
  • Conferencing (it is the foundation of the WebRTC protocol stack)
  • CCTV (it is the foundation of the RTSP+ONVIF-based protocol stacks)

Everything except SRT (more narrow purpose for live TV broadcasts, i.e. news, sport events...) and HTTP-based protocols.

Alternatives

  • Rely on custom protocols (i.e. raw video over UDP like in current samples)

  • Move this discussion downstream altogether

Additional Context

This discussion got split away from this PR which gives the example of one possible method of integration, as well as illustrates how much code it takes to support the SRTP protocol at Zephyr level:

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions