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

Could not select other audio stream than default one #710

Closed
AMP-VTV opened this issue Mar 20, 2024 · 1 comment
Closed

Could not select other audio stream than default one #710

AMP-VTV opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
bug Program error or software error or software anomaly.

Comments

@AMP-VTV
Copy link

AMP-VTV commented Mar 20, 2024

Hi 👋

Describe the bug

It's not possible to select an audio stream other than the first one from a multi-audio tracks SRT stream.

To Reproduce
Steps to reproduce the behavior:

  1. Edit a channel and click on the edit pencil of the "video settings" panel
  2. Probe the SRT input stream
  3. Select the video stream and cleck "NEXT:AUDIO"
  4. Try to select the second audio stream
  5. The selected audio stream stay on the first stream

Expected behavior
The second audio stream should be selected.

Screenshots

Selecting the 2nd audio stream:
image

After the selection:
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser : tested on Chrome 123.0.6312.58 and Firefox 123.0.1
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPhone SE (3rd)
  • OS: iOS 17.4
  • Browser : Firefox 123.4 and Safari

Additional context
Input source is produced by ffmpeg: here are the streams :

Output #0, tee, to '[f=mpegts]srt://123.123.123.123:6000?mode=caller&transtype=live&streamid=c400fb67-3729-433d-acf6-bbd1c093768a.stream,mode:publish&passphrase=#######################"':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: h264 (Main), 1 reference frame, yuv420p(top coded first (swapped)), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 10000 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc60.3.100 h264_nvenc
Side data:
cpb: bitrate max/min/avg: 10000000/0/10000000 buffer size: 20000000 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 256 kb/s (default)
Metadata:
encoder : Lavc60.3.100 aac
Stream #0:2: Audio: aac (LC), 48000 Hz, stereo, fltp, delay 1024, 256 kb/s
Metadata:
encoder : Lavc60.3.100 aac

@AMP-VTV AMP-VTV added the bug Program error or software error or software anomaly. label Mar 20, 2024
@ioppermann ioppermann self-assigned this Apr 15, 2024
@ioppermann
Copy link
Member

This has been fixed in the dev-branch. You can try it out with the datarhei/restreamer:dev docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Program error or software error or software anomaly.
Projects
None yet
Development

No branches or pull requests

2 participants