File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ <h3>General</h3>
5454 < div id ="net-pi-settings ">
5555 < label for ="ip-assign "> IP Assignment Mode:</ label >
5656 < select id ="ip-assign ">
57- < option value ="DHCP " {{ "selected" if not persist.network.dhcp}}> DHCP</ option >
58- < option value ="Static " {{ "selected" if persist.network.dhcp}}> Static</ option >
57+ < option value ="DHCP " {{ "selected" if persist.network.dhcp}}> DHCP</ option >
58+ < option value ="Static " {{ "selected" if not persist.network.dhcp}}> Static</ option >
5959 </ select >
6060 < br >
6161 < div id ="static-ext-div ">
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ def register(self, func: "H264CameraServer"):
4848 self .pipelines [func .name ] = pipeline
4949 if NT_AVAIL :
5050 url = self .hook .url .split ("/" )[2 ].split (":" )[0 ]
51- port = "" if self .port == 554 else self .port
51+ port = "" if self .port == 554 else ":{ self.port}"
5252 NetworkDict (f"/GStreamer/{ func .name } " )["/streams" ] = [
53- f"rtsp://{ url } : { port } /{ func .name } " ,
53+ f"rtsp://{ url } { port } /{ func .name } " ,
5454 ]
5555
5656 def unregister (self , func : "H264CameraServer" ):
You can’t perform that action at this time.
0 commit comments