Skip to content
New issue

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

Error 100 : Server died #212

Open
DomTaffuri opened this issue Apr 18, 2020 · 0 comments
Open

Error 100 : Server died #212

DomTaffuri opened this issue Apr 18, 2020 · 0 comments

Comments

@DomTaffuri
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant