Do you have a minimal javascript function to check whether or not the browser someone is using supports playing a webrtc stream? A standard webrtc check always fails on iOS but playing a stream is still possible because you have implemented another way to play those streams. I do not want to load the entire flashphoner javascript library (500k - 1mb) just to check it. Our mobile website that uses WC5 only loads scripts as needed, so if you could provide us with a basic function to test this capability, it would be much appreciated. It doesn't matter if that check would be 80% accurate in positives (the flashphoner.init would serve as the final check), as long as it's 100% accurate in negatives and so reduces inital pageload and increases initial pagespeed.
I also have a question regarding resolutions and resizing/transcoding. It seems that if the player is sized differently than the stream, some transcoding occurs. I want to resize the video-element on the player without impacting the stream or bandwidth either negatively or positively. For example: if the player on a webpage requests a 320x240 stream and the user flips his phone to display the site vertically making the video element half it's original size, there should not be any difference in the requested stream. How can I achieve this?
I also have a question regarding resolutions and resizing/transcoding. It seems that if the player is sized differently than the stream, some transcoding occurs. I want to resize the video-element on the player without impacting the stream or bandwidth either negatively or positively. For example: if the player on a webpage requests a 320x240 stream and the user flips his phone to display the site vertically making the video element half it's original size, there should not be any difference in the requested stream. How can I achieve this?