Skip to content

Commit

Permalink
Add link to /stream in stream list (backport #118)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobinHall authored and bjsowa committed Oct 3, 2024
1 parent 375fd06 commit 941b733
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/web_video_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ bool WebVideoServer::handle_list_streams(
connection->write("\">");
connection->write(image_topic_itr->substr(base_topic.size()));
connection->write("</a> (");
connection->write("<a href=\"/stream?topic=");
connection->write(*image_topic_itr);
connection->write("\">Stream</a>) (");
connection->write("<a href=\"/snapshot?topic=");
connection->write(*image_topic_itr);
connection->write("\">Snapshot</a>)");
Expand All @@ -338,6 +341,9 @@ bool WebVideoServer::handle_list_streams(
connection->write("\">");
connection->write(*image_topic_itr);
connection->write("</a> (");
connection->write("<a href=\"/stream?topic=");
connection->write(*image_topic_itr);
connection->write("\">Stream</a>) (");
connection->write("<a href=\"/snapshot?topic=");
connection->write(*image_topic_itr);
connection->write("\">Snapshot</a>)");
Expand Down

0 comments on commit 941b733

Please sign in to comment.