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

Intermittent issues to connect to following test stream #51

Closed
birme opened this issue Sep 4, 2023 · 1 comment
Closed

Intermittent issues to connect to following test stream #51

birme opened this issue Sep 4, 2023 · 1 comment
Assignees

Comments

@birme
Copy link
Contributor

birme commented Sep 4, 2023

Generating an SRT stream with FFmpeg and in listener mode works intermittently. Steps to reproduce:

Start an FFmpeg to generate an input source:

ffmpeg -f lavfi -re -i testsrc=size=1280x720:rate=30 \
  -f lavfi -re -i sine=frequency=1000:sample_rate=44100 \
  -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 \
  -profile:v baseline -preset veryfast -c:a aac \
  -f mpegts "srt://127.0.0.1:1234?mode=listener&pkt_size=1316"

Then start srt-whep

srt-whep -i 127.0.0.1:1234 -o 127.0.0.1:8888 -p 8000 -s caller | bunyan

And connect to the WHEP endpoint http://localhost:8000/channel using https://webrtc.player.eyevinn.technology/?type=whep

Sometimes it works, and sometimes it don't. Tested on Mac OS

@Wkkkkk
Copy link
Contributor

Wkkkkk commented Sep 4, 2023

This has been solved in the latest commit.

@Wkkkkk Wkkkkk closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants