nchutchind / cordova-plugin-streaming-media

Simple plugin for loading full screen streaming video or audio.
MIT License
391 stars 284 forks source link

Error 100 : Server died #212

Open DomTaffuri opened 4 years ago

DomTaffuri commented 4 years ago

cordova-plugin-streaming-media 2.2.0

9.0.0

Huawei P9

import { Injectable } from '@angular/core'; import { StreamingMedia, StreamingVideoOptions } from '@ionic-native/streaming-media/ngx';

@Injectable({ providedIn: 'root' }) export class RtspServiceService {

constructor( private streamingMedia: StreamingMedia ) { }

private streamLink = "xxxxx";

startRegistration() { let options: StreamingVideoOptions = { successCallback: () => { console.log('Video played') }, errorCallback: (e) => { console.log(e) }, orientation: 'landscape', shouldAutoClose: true, controls: false }; this.streamingMedia.playVideo(this.streamLink, options); }

}

Error : MediaPlayer Error : Server Died(100)

Playing the same link with VLC works perfectly.