Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WHIP & RIST Support #1503

Open
johan149 opened this issue Jun 17, 2024 · 4 comments
Open

WHIP & RIST Support #1503

johan149 opened this issue Jun 17, 2024 · 4 comments

Comments

@johan149
Copy link

Is your feature request related to a problem? Please describe.
I am currently using the RootEncoder library for streaming video/audio to media servers using various protocols (RTMP, RTSP, SRT, etc.). However, I am facing limitations in my streaming capabilities due to the absence of support for WHIP (WebRTC-HTTP Ingestion Protocol) and RIST (Reliable Internet Stream Transport). These protocols offer significant advantages for live streaming, such as improved reliability, low latency, and better handling of network issues, which are crucial for my use case.

Describe the solution you'd like
I would like to see the implementation of WHIP and RIST protocols in the RootEncoder library. Specifically:

WHIP Protocol: Adding support for WHIP would enable seamless integration with WebRTC-based media servers, facilitating low-latency streaming directly from the encoder to the server using HTTP.
RIST Protocol: Integrating RIST would enhance the reliability of streams over unreliable networks by providing features such as packet loss recovery, secure transport, and low latency, making it ideal for professional broadcasting scenarios.
Describe alternatives you've considered

Using External Tools: I have considered using external tools and servers to convert the streams from supported protocols (e.g., RTMP, RTSP) to WHIP or RIST. However, this adds complexity and additional points of failure in the streaming pipeline.
Custom Implementation: Implementing custom support for WHIP and RIST within my application is another alternative. However, this requires substantial effort and may not be as efficient or well-integrated as having native support in the RootEncoder library.
Additional context

  • WHIP Protocol: More information on WHIP can be found here.

  • RIST Protocol: More details about RIST are available here.

Adding support for these protocols would align RootEncoder with industry standards and enhance its appeal to a broader range of users, particularly those in professional broadcasting and low-latency streaming domains.
Thank you for considering this feature request. The addition of WHIP and RIST support would significantly enhance the versatility and reliability of the RootEncoder library for diverse streaming applications.

@pedroSG94
Copy link
Owner

Hello,

Do you have a server that support RIST?
I can't find a server for it and it is necessary to test it.

Also, a documentation about the protocol implementation will be necessary. Do you know a way to get it instead of read tye code of a project?

@johan149
Copy link
Author

Hola Pedro, Los ejecutable de RIST se puede compilar standalone también librist funciona con ffmpeg, para testear puedes encodear a UDP y con el ejecutable de rist enviarlo como RIST protocol en el server lo puedes recibir como RIST y reproducir con ffmpeg UDP para hacer pruebas. Actualmente solo he visto WHIP y RIST en mobile solo en Larix Broadcaster, sería excelente poder soportar estos dos protocolos y quizás NDI también. Saludos.

@pedroSG94
Copy link
Owner

Hola,

Voy a marcar esto como enhancement y creo que si empiezo con alguno de estos protocolos quizas sea con WHIP ya que es el que mas extendido está de los 3 que has comentado.
El segundo lo decidire cuando termine WHIP y me ponga a mirar la documentación que hay.
Ten en cuenta que la idea es desarrollar todo el protocolo en kotlin y no quiero añadir librerias compiladas en C++ por lo que si no hay buena documentacion de como funciona el protocolo probablemente no lo implemente.

@johan149
Copy link
Author

Hola Pedro me gustaria que hablaramos depronto podriamos ayudar en manera monetaria hablame por discord johan1111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants