pedroSG94 / RootEncoder-iOS

RootEncoder iOS (rtmp-rtsp-stream-client-swift) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP and SRT with all code written in Swift
Apache License 2.0
125 stars 34 forks source link
amf encoder filters ios mpeg2-ts rtmp rtp rtsp srt stream stream-library streaming swift swiftui

RootEncoder iOS

RootEncoder iOS (rtmp-rtsp-stream-client-swift) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP and SRT with all code written in Swift

Status

The project is not stable yet. For now, the min iOS version required is iOS14 but I have plan to downgrade it a bit. Swift 5 is required because RTMP and RTSP protocol use async await in sockets.

Features

Compile

SPM

In Xcode go to: Project > Package dependencies > + > add this to the search bar:

https://github.com/pedroSG94/RootEncoder-iOS

Use examples:

RTMP

https://github.com/pedroSG94/RootEncoder-iOS/blob/master/app/RtmpSwiftUIView.swift

RTSP

https://github.com/pedroSG94/RootEncoder-iOS/blob/master/app/RtspSwiftUIView.swift

Incoming features

I will develop this features but not in this order.