You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently developing a flutter app that allows to view security live streams with RTSP protocol.
The proprietary APIs requires that, when the streaming has to be started, a TCP SecureSocket has to be created, using a certificate. Then, some bytes has to be sent as a command, and the server starts to responds packets until the socket is closed.
on native iOS, VLCMediaPlayer of MobileVLCKit pod allows to create such socket input:
On Android, using ExoPlayer, a similar approach can be done:
Uri tsVideoUri = Uri.parse("stream.ts"); DataSource.Factory pMyDataSourceFactory = () -> mDataSource; MediaSource pMyMediaSource = new ProgressiveMediaSource.Factory(pMyDataSourceFactory).createMediaSource(tsVideoUri);
mDataSource is an instance of a class that implements DataSource and makes use of a CircularByteBuffer, the data received from the socket is being written inside this data source.
Is this approach already available on flutter_vlc_player?
The text was updated successfully, but these errors were encountered:
i have solution that return video from youtybe without know that video come from youtybe and all quality work and other function contact me on whatsapp:+971557474526
I'm currently developing a flutter app that allows to view security live streams with RTSP protocol.
The proprietary APIs requires that, when the streaming has to be started, a TCP SecureSocket has to be created, using a certificate. Then, some bytes has to be sent as a command, and the server starts to responds packets until the socket is closed.
on native iOS, VLCMediaPlayer of MobileVLCKit pod allows to create such socket input:
VLCplayer.media = [[VLCMedia alloc] initWithStream:camera_to_stream._video_stream];
stream being an instance of NSInputStream
`
/**
*/
`
On Android, using ExoPlayer, a similar approach can be done:
Uri tsVideoUri = Uri.parse("stream.ts"); DataSource.Factory pMyDataSourceFactory = () -> mDataSource; MediaSource pMyMediaSource = new ProgressiveMediaSource.Factory(pMyDataSourceFactory).createMediaSource(tsVideoUri);
mDataSource is an instance of a class that implements DataSource and makes use of a CircularByteBuffer, the data received from the socket is being written inside this data source.
Is this approach already available on flutter_vlc_player?
The text was updated successfully, but these errors were encountered: