RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

video server over HTTPS #141

Open gxomalis opened 3 months ago

gxomalis commented 3 months ago

Hey there! I'm on ROS 2 Humble and my web app is on https. Is there any way I can make web_video_server stream the image topics over https/ssl instead of http so i can use them inside my https web app?

This is how I use web_video_server inside my web app:

<mat-tab-group>
          <mat-tab label="RGB Camera">
            <img class="img-fluid" [style.width.px]="getWidthOfDiv()" [style.height.px]="getWidthOfDiv()/2"
            src="http://localhost:8080/stream?topic=/stereo/left/image_rect_color_out1_high"> 
            </mat-tab>
          <mat-tab label="Depth Camera">
             <img class="img-fluid" [style.width.px]="getWidthOfDiv()" [style.height.px]="getWidthOfDiv()/2"
            src="http://localhost:8080/stream?topic=/stereo/depth"> </mat-tab>
        </mat-tab-group>

I can't find any useful resources to help me make this happen. Is this possible at all? Thanks in advance!