Ionic live streaming

hello, i am developing a streaming application and this is my code, it doesnt reflect anything yet it seems to be right in all written, how can i make it work to live stream videos online.

//streaming medaia here
let options: StreamingVideoOptions = {
successCallback: () => { console.log(‘Finished Video’) },
errorCallback: (e) => { console.log('Error: ', e) },
orientation: ‘portrait’

this.streamingMedia.playVideo(‘’, options);

and in my html code i have

Live TV


i wil be grateful for the positive feedback

Try to call you liveStream() in the constructor


The code is not working

Did you release this message on your console? Native: tried calling StreamingMedia.playVideo, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator Guess you should run it on your mobile device rather than using ionic serve. I just tried an example

Check this Ionic media streaming

1 Like

Thanks its working now i had to run it on device

Great! [quote=“wandie, post:6, topic:118942, full:true”]
Thanks its working now i had to run it on device
Cheers :beers:

Try to make the what I posted “solution” if that solves your problem so others can easily get this post without searching a long way.

i have done so already