Skip to content

Commit

Permalink
for #665: upgrade live555helper url parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Feb 18, 2024
1 parent 4a2dfda commit 9860e3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/VcmCapturer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class VcmCapturer : public rtc::VideoSinkInterface<webrtc::VideoFrame>, public
public:
static VcmCapturer* Create(const std::string & videourl, const std::map<std::string, std::string> & opts, std::unique_ptr<webrtc::VideoDecoderFactory>& videoDecoderFactory) {
std::unique_ptr<VcmCapturer> vcm_capturer(new VcmCapturer());
size_t width = 0;
size_t height = 0;
size_t width = 800;
size_t height = 600;
size_t fps = 0;
if (opts.find("width") != opts.end()) {
width = std::stoi(opts.at("width"));
Expand Down
2 changes: 1 addition & 1 deletion live555helper

0 comments on commit 9860e3d

Please sign in to comment.