resolution changes in video stream towards browser.

130 views
Skip to first unread message

cpet...@broadsoft.com

unread,
Jan 6, 2016, 12:22:45 PM1/6/16
to discuss-webrtc

I find if the resolution changes in the video towards the browser, I get a freeze for an indeterminate amount of time. Im only testing on windows (firefox the same result). The same happens for vp8 and vp9.

 

If the resolution changes in a given rtp stream, is everything supposed to work seamlessly? I don’t fully understand the browser client-side of webrtc but I do understand very well video and rtp streaming in general. Other devices we use can handle resolution changes mid-rtp-stream without issue.

Any insight on this is appreciated.
Thanks
Carl

 



This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it.

Christoffer Jansson

unread,
Jan 7, 2016, 3:58:09 AM1/7/16
to discuss-webrtc
Hi,

Can you clarify what you mean by resolution changes towards the browser? Do you mean the camera restarts and uses a different capture resolution or that client automatically changes resolution due to CPU limits (CPU adaption) or bandwidth constraints (BWE)? If the latter it should work seamlessly.

/Chris

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/d89d9234-f0fe-4176-b803-94f42d56abf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

cpet...@broadsoft.com

unread,
Jan 7, 2016, 1:03:32 PM1/7/16
to discuss-webrtc
I'm not talking about camera or video capture on the local machine. Im talking about video received from the remote device whether that be another browser or another webrtc device. In our case either vp8 or vp9. the resolution in the rtp stream can change without any signaling. When that happens the video image on the browser freezes for a somewhat indeterminate amount of time. lets say the incoming resolution from a remote device changes from 1280x720 to 640x480. does the browser automagically render the new video in the same window by either stretching or cropping or both? those details are not that important to me. im just wondering whether the change should happen seamlessly without any signaling or callback events or alike.

thanks

Philipp Hancke

unread,
Jan 7, 2016, 1:08:54 PM1/7/16
to discuss...@googlegroups.com
2016-01-07 19:03 GMT+01:00 <cpet...@broadsoft.com>:
I'm not talking about camera or video capture on the local machine. Im talking about video received from the remote device whether that be another browser or another webrtc device. In our case either vp8 or vp9. the resolution in the rtp stream can change without any signaling. When that happens the video image on the browser freezes for a somewhat indeterminate amount of time. lets say the incoming resolution from a remote device changes from 1280x720 to 640x480. does the browser automagically render the new video in the same window by either stretching or cropping or both? those details are not that important to me. im just wondering whether the change should happen seamlessly without any signaling or callback events or alike.

that is what is happening whenever the browser as a sender decides to change the resolution so that works. If you're running into problems with that hooking the <video/> element's onresize event might be helpful debugging it. It should be triggered with the new videoEl.videoWidth and .videoHeight
Reply all
Reply to author
Forward
0 new messages