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

WebRTC bin #7

Closed
Wkkkkk opened this issue Apr 27, 2023 · 2 comments
Closed

WebRTC bin #7

Wkkkkk opened this issue Apr 27, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@Wkkkkk
Copy link
Contributor

Wkkkkk commented Apr 27, 2023

Here we record the interactions between WebRTC clients, as well as WHEP protocol.

@Wkkkkk Wkkkkk added the documentation Improvements or additions to documentation label Apr 27, 2023
@Wkkkkk
Copy link
Contributor Author

Wkkkkk commented Apr 27, 2023

Here we describe how to setup a WebRTC egress session and available tools for testing.

As discussed in this blog by Lorenzo Miniero, there are two ways to set up a WHEP session.

  1. The client originates an SDP offer (stating their intention of receiving specific media), and wait for an answer from the WHEP server, or
  2. ask the WHEP server to provide an SDP offer instead (with a description of the media session), and then provide the SDP answer in a further exchange. This approach was axed in the latest WHEP draft.

For testing purpose, we find two WHEP players.

  1. whepsrc (from gst-plugin-rs ). It takes the initiative and generate an SDP offer.
  2. whep player (from Eyevinn). It expects the server to provide an SDP offer.

For end-to-end test, wrtc-egress is available.

@Wkkkkk
Copy link
Contributor Author

Wkkkkk commented Apr 27, 2023

To establish a WebRTC connection, there are a few process: 1. Session initialisation 2. ICE negotiation 3. Media negotiation 4.Media transmission 5. Playback.

In this project, we focus on the session initialisation, to be specific, the exchange of SDP offer/answer using HTTP dialogs. ICE trickling is not under consideration for the moment.

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

No branches or pull requests

1 participant