Skip to content

Commit c0f66d5

Browse files
committed
Change srtla_port to u16
1 parent 94a8990 commit c0f66d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/belabox/messages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub struct Config {
4444
pub srt_latency: u64,
4545
pub srt_streamid: String,
4646
pub srtla_addr: String,
47-
pub srtla_port: String,
47+
pub srtla_port: u16,
4848
pub bitrate_overlay: bool,
4949
pub ssh_pass: Option<String>,
5050
pub asrc: String,

src/belabox/requests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub struct Start {
3434
pub delay: i32,
3535
pub max_br: u32,
3636
pub srtla_addr: String,
37-
pub srtla_port: String,
37+
pub srtla_port: u16,
3838
pub srt_streamid: String,
3939
pub srt_latency: u64,
4040
pub bitrate_overlay: bool,

0 commit comments

Comments
 (0)