web_video_server icon indicating copy to clipboard operation
web_video_server copied to clipboard

video server over HTTPS

Open gxomalis opened this issue 9 months ago • 0 comments

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!

gxomalis avatar May 24 '24 09:05 gxomalis