We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: