You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracks published via --publish previously had no way to set a name:
file tracks were named after the file and socket tracks were unnamed,
making them hard for subscribers to identify.
Add a --track-name flag that overrides the published track name for
file, socket, and simulcast publishes. Defaults are unchanged.
Resolves#669
Copy file name to clipboardExpand all lines: cmd/lk/room.go
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,11 @@ var (
160
160
"Can publish from Unix or TCP socket using the format '<codec>:///<socket_path>' or '<codec>://<host:port>' respectively. Valid codecs are \"h264\", \"h265\", \"vp8\", \"opus\". "+
161
161
"For simulcast: use 2-3 h264:// or h265:// URLs with format '<codec>://<host:port>/<width>x<height>' or '<codec>:///path/to/<socket_path>/<width>x<height>' (all layers must use the same codec; quality determined by width order)",
162
162
},
163
+
&cli.StringFlag{
164
+
Name: "track-name",
165
+
Usage: "`NAME` of the published track. Applies to all tracks published via --publish. "+
166
+
"If unset, file tracks are named after the file and socket tracks are unnamed",
0 commit comments