Skip to content

Copying audio only works after opening original stream once #530

@felipecrs

Description

@felipecrs

go2rtc version: 1.6.0

config:

streams:
  camera_01:
    - rtsp://192.168.1.20/Streaming/Channels/101
  # Used to discard audio track, workaround for:
  # https://github.com/AlexxIT/go2rtc/issues/198
  camera_03_internal:
    - rtsp://192.168.1.20/Streaming/Channels/301
  camera_03:
    - rtsp://127.0.0.1:8554/camera_03_internal?video
    - rtsp://127.0.0.1:8554/camera_01?audio

Basically, I want to copy the audio from camera_01 to camera_03, discarding the existing audio from camera_03 (#198).

However, when I first try to stream camera_03, there is no audio. But if I stream camera_01, and unmute the audio, now audio starts working with camera_03 too.

chrome_B2KCwFxstz.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions