How to pause audio vedio file & play from same time where we paused

Hi,
I am developing a mobile app where the user can watch video’s & listen to audios through live stream.
While the user is watching or listening to a live stream, at a certain period of time I have to play advertise videos or audio in between, such that the existing a/v should get pause & on top view on screen my a/v should come.

Question:
1-Is it feasible to go with corona for this app or should I try native
2-Is there any library, that can help me to revoke/resume the file, from the last it was paused.

3-Buffer mechanism in Corona for audio/video’s files on the live stream.

Assif

 

I guess I have more of a question for you. How are you planning on streaming these audio and video streams? Corona currently does not support any streaming protocols. While things like audio.loadStream() or native.newVideo() can steam audio and video, they can only stream a fixed file, not from an actual stream. What we mean by streaming with these API’s is that they can start playback before the entire file is loaded.  This is a subtile but important limitation.  media.playVideo() I don’t believe has any programatic controls. native.newVideo() is a native object and comes with the restriction that it’s always on top.  native.newVideo() has a :pause() and play() method (play() resumes from a pause() ).

I believe you’re going to want a form of video streaming that we don’t support. You will likely need to do this natively. 

Rob

I guess I have more of a question for you. How are you planning on streaming these audio and video streams? Corona currently does not support any streaming protocols. While things like audio.loadStream() or native.newVideo() can steam audio and video, they can only stream a fixed file, not from an actual stream. What we mean by streaming with these API’s is that they can start playback before the entire file is loaded.  This is a subtile but important limitation.  media.playVideo() I don’t believe has any programatic controls. native.newVideo() is a native object and comes with the restriction that it’s always on top.  native.newVideo() has a :pause() and play() method (play() resumes from a pause() ).

I believe you’re going to want a form of video streaming that we don’t support. You will likely need to do this natively. 

Rob