Skip to content

video server over HTTPS #141

@gxomalis

Description

@gxomalis

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions