Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Oct 28, 2023
1 parent 583128f commit 9796efe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/wolf/state/default/config.include.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ hostname = "Wolf"
# Set to false if this host doesn't support HEVC
support_hevc = true
# The version of this config file
config_version = 2
config_version = 3


# A list of paired clients that will be allowed to stream
Expand Down Expand Up @@ -152,7 +152,7 @@ default_source = "appsrc name=wolf_wayland_source is-live=true block=false forma
default_sink = """
rtpmoonlightpay_video name=moonlight_pay
payload_size={payload_size} fec_percentage={fec_percentage} min_required_fec_packets={min_required_fec_packets} !
udpsink host={client_ip} port={client_port} sync=true
udpsink bind-port={host_port} host={client_ip} port={client_port} sync=true
\
"""

Expand Down Expand Up @@ -204,7 +204,7 @@ height={height}, format=NV12, colorimetry={color_space}
\
"""
encoder_pipeline = """
vah265enc aud=false b-frames=0 ref-frames=1 num-slices=0 bitrate={bitrate} !
vah265enc aud=false b-frames=0 ref-frames=1 num-slices={slices_per_frame} bitrate={bitrate} !
h265parse !
video/x-h265, profile=main, stream-format=byte-stream
\
Expand Down Expand Up @@ -295,7 +295,7 @@ height={height}, format=NV12, colorimetry={color_space}
\
"""
encoder_pipeline = """
vah264enc aud=false b-frames=0 ref-frames=1 num-slices=0 bitrate={bitrate} !
vah264enc aud=false b-frames=0 ref-frames=1 num-slices={slices_per_frame} bitrate={bitrate} !
h264parse !
video/x-h264, profile=main, stream-format=byte-stream
\
Expand Down Expand Up @@ -359,7 +359,7 @@ max-payload-size=1400
default_sink = """
rtpmoonlightpay_audio name=moonlight_pay packet_duration={packet_duration} encrypt={encrypt}
aes_key="{aes_key}" aes_iv="{aes_iv}" !
udpsink host={client_ip} port={client_port} sync=true
udpsink bind-port={host_port} host={client_ip} port={client_port} sync=true
\
"""

Expand Down
2 changes: 1 addition & 1 deletion tests/assets/config.v2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ uuid = "0000-1111-2222-3333"
# Set to false if this host doesn't support HEVC
support_hevc = true
# The version of this config file
config_version = 2
config_version = 3


# A list of paired clients that will be allowed to stream
Expand Down

0 comments on commit 9796efe

Please sign in to comment.