I have a problem with deciding about Flash lite vs html5 audio tag for streaming music on mobile devices.
If it's flash lite, then any steps how to get it working would be great, no actual code needed, because I tried but it didn't play. i don't realy know as2, because I usually use as3.
Have you looked into a framework like JPlayer (http://jplayer.org/)? That will use HTML5 audio if available and otherwise fallback to Flash.
Related
I've implemented the Twilio Video quickstart code in my project using ReactJS and after a few tweaks, it all seems to work fine on chrome and firefox from my computer, but when I try to use either the preview or make a call with another client from my mobile web browser, the video does not move. It is stuck, but the video streams will work fine if I am moving the screen with my finger or if my finger is just on the screen, but will freeze on it's current frame the moment I stop moving the screen. I am not sure if this is an issue with the way Twilio attaches the video or if there is just something about mobile browsers that I don't understand when attaching video streams.
Thanks for the help
So there are a few things that could be going on here. Currently and also for the foreseeable future, Twilio Video will require the A6 system on chip, so older devices like an iPod Touch (5th gen) for example, would not supported.
https://www.twilio.com/docs/api/video/system-requirements
You might try to modify the bitrate indirectly through modifying the resolution. There is some sample code (in Swift) demonstrating this API:
https://github.com/twilio/video-sample-ios-capture-render/blob/master/VideoSampleCaptureRender/ViewController.swift#L205
Lastly, reporting of connection information through the conversation delegate does receive statistics:
https://media.twiliocdn.com/sdk/ios/conversations/releases/0.22.0/docs/Protocols/TWCConversationDelegate.html#//api/name/conversation:didReceiveTrackStatistics:
however there is not an automatic way to adjust the resolution based on these statistics.
Hope this helps to point you in the right direction. Please let me know in the comments what you find out.
Currently in full development of a mobile application video sharing (based on PhoneGap), I hesitate about the method used to send / play videos on mobile. So I have a choice between using the HTML5 video tag (which apparently require an additional plugin so that there was no problem in android), and the establishment of an RTSP streaming server, which I think the native video player will be directly launch.
I want to know what would be the best solution to watch these videos without losing quality with the ability to navigate the time of the video.
Thank you,
Yeppao
Both streamed videos and embedded <video> elements will open in the native player (at the time of writing at least) and you won't be able to display video inline. See this recent question of mine.
So, at least to me, this boils down to the question if you can afford the streaming (both in terms of costs and maintenance) since a streamed video will always offer a better user experience (in case the streaming works properly...) than a downloaded one.
Is it possible to investigate an html page that views a video streaming data using flash, and then use these data to view it on the phone?
for example Al Jazeera website has a streaming service. I've looked through the html page and other resources using chrome developers tools. I found a lot of data, but couldnt figure it out which data I need.
No.
Flash uses a video format (codec) which isn't supported by Windows Phone.
If you want to be able to play such videos you'll need to get them in the appropriate format or transcode them yourself.
I am writing a Silverlight application which displays large applications. It uses MediaElement and the user can scroll to any particular point in the video.
However, I don't want to have to host these large videos myself. What is the easiest/best option for hosting? (A sort of youtube for silverlight if you want)
If you don't care about smooth streaming you could put it almost anywhere.
For smooth streaming, you'd probably want a cdn that supports it like limelight http://www.limelightnetworks.com/2010/03/smooth-streaming/ .. Or use something like Amazon S3 or Azure Storage using this technique http://aldenml.com/blog/2009/12/11/how-to-smooth-streaming-and-windows-azure-storage/.
Some cheap hosters like Discountasp.net also support smooth streaming http://www.discountasp.net/sp_iis7manager.aspx
I don't know of any free youtube like places to host the video. http://silverlight.live.com used to be free, but is shutdown now.
I would like to bypass the web-server functionality of a Sony SNC-RZ30N network attached web cam and display the video feed in a Silverlight application.
I can't seem to find any examples of interfacing with the camera programatically.
Any leads would be much appreciated. Thx.
Update 09/09/2008: Found a good site with Javascript examples to control the camera, but still no means to embed the video in an iFrame or the like:
http://www2.zdo.com/archives/3-JavaScript-API-to-Control-SONY-SNC-RZ30N-Network-Camera.html
Doug
I don't know the details of the Sony network camera and the server side software. But what do you mean by web-server functionality - is that the UI that get served up to the users in form of a HTML page? Or is it something more, like a server capturing the video stream and transcoding it?
I think the direction you need to take is to first find the URL end-point of your video stream. Since it's a network camera I assume the camera has a built in IP-stack/HTTP server serving up the video stream. Once you have that feed you probably have to transcode it into a video format consumable by Silverlight. There are multiple tools you can use, but for Silverlight the preferred tool Microsoft Expression Encoder. It supports live transcoding of webcam video streams. I think it supports both Direct Show devices as well as video streams.