videojs-http-streaming, how do I get server error event? - video.js

playing HLS live video streams based on videojs and videojs-http-streaming, how do I get events when the server stops pushing streams?

Related

Incoming MediaStream's using Safari on mobile device won't play

I've been trying to debug this issue, I'm creating a peer to peer audio streaming app.
Each time a mobile device using Safari receives a peers incoming MediaStream, it plays the stream for a fraction of a second and then stops.
I've checked the actual MediaStream & Audio object I'm using to play the incoming stream, but nothing of its status suggests that's it's paused, inactive or stopped.
I know there are some issues with Safari when it comes to programmatically playing Audio, but I thought that was on the initial playback of the clients first stream and then all subsequent streams should work.
I used the implementation from this article.
Anyone know of the reason for this?

Recording google meet through Webrtc

I am trying to record google meet audio and video using webRtc. I found mediaRecorder Api for same. But i am unable to record meeting, as it is only capturing my webcam and audio. How can i record a whole meeting through code in any language?
One solution is to use Neko to record conferences. It is like jibri but works for all any website!
It is a headless Chromium instance that runs on a server. You launch the neko instance and then join the conference call. You then can capture the web page's audio and video.
You can specify a RTMP output (Twitch, Youtube...) or you can save the files.

audio tracks are missing in webrtc call upgrade

We are facing a strange issue in webrtc call i.e. in a connected webrtc audio only call when some one upgrade the call(add video) the audio tracks will drops from orignator side.
steps to reproduce the problem
1.make a audio only call between two peers A and B.
2.updgrade call to video by calling getUserMedia again from peer A.
3.call established.
4.A can hear audio and view video.
5.B cant hear audio.
What is the expected result?
onaddstream(e) e.stream should contain both audio and video tracks
What do you see instead?
only video track is there at B's side (recipient)
What version of the product are you using? On what operating system?
Chrome 51/WIndows7
Please find the webrtc dump from below link
Webrtc dump

How to stream video in iOS app from GoPro HERO4?

How to stream video in iOS app from GoPro HERO4? I am able to steam using GoPro HERO3. I have tried several ways but failed to stream.
To start streaming you need to execute the URL:
http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=start
To stop:
http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=stop
Next you can download streaming data using port UDP 8554.
Unfortunately this solution working only with old software version. With last one 02.00.00 not working.

How to take a screenshot while playing a HLS stream using AV foundation?

I am playing a video in my app, the video is a HLS streaming which i am fetching from my remote server. And i need a functionaltiy to take the screenshot of currently playing video but i am not able to do the same, i checked the documentation apple is saying you can take the screenshot if you are playing a video if you are playing a video from LOCAL URL or LOCAL FILE and you can not take a screenshot if you are playing a video from remote stream.
I am kind of stuck on this issue, i tried several methods discussed on stack overflow and other sites but nothing worked.
Please help,
Thanks