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

Allow to only "consume" backchannel but not inbound audio from rtsp source #1442

Open
felipecrs opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@felipecrs
Copy link
Contributor

For example, I would like to discard the inbound audio of my Dahua VTO:

streams:
  vto_audio:
    # AAC, OPUS
    - echo:/config/scripts/fix_vto_codecs.sh 
      ffmpeg:rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=1#audio=copy#audio=opus
  vto:
    # H264
    - echo:/config/scripts/fix_vto_codecs.sh 
      rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif#media=video#backchannel=1
    # AAC, OPUS
    - rtsp://127.0.0.1:8554/video_porteiro_audio?audio=all

Note I'm using #media=video#backchannel=1 in the RTSP URL. That is because I want to discard audio from that stream, but I still want backchannel and video from it.

However, what happens is that #media=video discards all audio tracks, including the backchannel one.

I believe the best would be to NOT discard the backchannel track if #backchannel=1.

@AlexxIT AlexxIT added the enhancement New feature or request label Nov 8, 2024
@AlexxIT AlexxIT self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants