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

Document UDP input support #9

Open
joeyparrish opened this issue Aug 30, 2019 · 4 comments
Open

Document UDP input support #9

joeyparrish opened this issue Aug 30, 2019 · 4 comments
Labels
priority: P3 Useful but not urgent type: docs Improvements or fixes to documentation
Milestone

Comments

@joeyparrish
Copy link
Member

We don't yet support UDP input streams, but we could.

@joeyparrish joeyparrish added the type: enhancement New feature or request label Aug 30, 2019
@joeyparrish joeyparrish added this to the v1.0 milestone Aug 30, 2019
@joeyparrish joeyparrish added type: docs Improvements or fixes to documentation and removed type: enhancement New feature or request labels Nov 8, 2019
@joeyparrish
Copy link
Member Author

RTMP and UDP inputs seem to work without any additional code. How to use them should be well-documented, though, so I'm changing this to a docs issue.

@joeyparrish joeyparrish changed the title Add UDP input support Document UDP input support Nov 19, 2019
@LSrt-stack
Copy link

Could we have sample config files for RTMP and UDP inputs ? Thank you

@TheModMaker TheModMaker added the priority: P3 Useful but not urgent label Sep 29, 2021
@jspizziri
Copy link

@joeyparrish would love some docs on RTMP and UDP inputs. I'd be happy to contribute documentation, but I'm not sure where to start. Perhaps you could point me in the right direction?

@okejadi
Copy link

okejadi commented Aug 24, 2023

hello @joeyparrish can I see the sample for udp inputs?

I tried this:

# List of inputs.
inputs:
    # The type of input.
#  - input_type: external_command
    # The command to run.  Here $SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT
    # (or %SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT% on Windows) is replaced
    # with the output pipe.
  - name: udp://@227.10.20.8:1234
    media_type: video
    # hardcode resolution to avoid autodetection
    resolution: 720p
    frame_rate: 25

#  - input_type: external_command
  - name: udp://@227.10.20.8:1234
    media_type: audio
    channel_layout: stereo

but the video FPS got stuck in there, as I also can't view the output from outputs_files using apache2. if i see the output file, only audio is being generated while the video is not.

image

I tried only the video input and its working, but not when I added the audio stream

image

Working VLC footage (no audio)
image

here is the working video only code:

# List of inputs.
inputs:
    # The type of input.
#  - input_type: external_command
    # The command to run.  Here $SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT
    # (or %SHAKA_STREAMER_EXTERNAL_COMMAND_OUTPUT% on Windows) is replaced
    # with the output pipe.
  - name: udp://@227.10.20.8:1234
    media_type: video
    # hardcode resolution to avoid autodetection
    resolution: 720p
    frame_rate: 25

any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P3 Useful but not urgent type: docs Improvements or fixes to documentation
Projects
None yet
Development

No branches or pull requests

5 participants