Youtube - New Livestream does not start until i dismiss old one - youtube

I am streaming video from an IP camera to Youtube using the restreamer software (https://datarhei.github.io/restreamer/) running on a Raspberry Pi 4.
Actually everything works as well. But when the stream is interrupted (for whatever reason), a new livestream is created only when I click on the "Dismiss" button in Youtube Studio.
But since I want to start the new stream automatically, I'm looking for a way to execute the click on the button (or the associated command) via the Youtube API.
How can I execute this?

I will answer my own question because I found the problem description and a solution in another forum: https://obsproject.com/forum/threads/stream-didnt-show-error-or-load-to-youtube.130897/
Something has changed on youtube in the last few days, but the solution to manage a real streaming reconnection is this: from the youtube control room from the manage icon, you need to create a scheduled streaming. Start the encode on this stream and everything will work fine. If the connection drops, youtube will say streaming offline; when the connection is re-established, streaming restarts.

Related

Stream published to open source RTMP servers does not appear on resttream.io

I’m obtaining H.264 video from a DJI drone in an Android library I wrote. From there the video is distributed via WebRTC to many subscribers. This works.
Now one came to the idea if it would be possible to have an RTMP stream aside, so that a parallel publishing of the video to platforms like YT or FB would be possible.
I integrated the code which does H.264 to FLV to RTMP and it works perfectly with at least two open source solutions I have tested: OSS/SRS (https://github.com/ossrs/srs) and node-media-server (https://github.com/illuspas/Node-Media-Server). I publish to instances running here in my LAN and view that by VLC. That works fine.
It doesn’t work if I publish to YT directly. Then I thought I try to insert restream.io into the chain. But it also does not work reliably. Restream at least is a bit more chatty regarding what’s happening, but not chatty enough: What I see is, that I can connect and disconnect - the dashboard window reacts promptly. Same as YT does. I see that the RS dashboard shows bitrate, frame rate and key frame rate and the statistics confirms that. Just - the screen remains black (as with YT) and there is just this spinning wheel.
I can exclude, that I have any kind of weird firewall problem, since I can perfectly uploading H264 as FLV stream using FFMPEG from the command line.
So what is the state: I have two open source RTMP servers, which tell me, all is fine. I have two major public RTMP servers, which don’t say much, but don’t confirm that it works either…
I'm looking for some hints to find out, what is wrong with my stream :)
The simple reason was: YT REQUIRES audio. My stream didn't contain any audio. So I multiplexed a silent fake audio stream into the upload and it worked.

Cordova ios watch live video streaming ApiRTC

I am using cordova ios app for live streaming. I am able to stream video from iphone but when i try to join stream it never calls remoteStreamAddedHandler function to display streaming video.
I am using cordova-plugin-iosrtc plugin. It also shows status that "someone has joined room" but not calling that remoteStreamAddedHandler where i can append video tag from. It is working fine in andriod phone.
Thanks
remoteStreamAddedHandler event is fired when a remote user has already joined the room and published his stream.
On apiRTC tutorial : 11-VIDEO CALL STREAMING, user only subscribe to available streams (there is no video publish)
You need to have an user connected with tutorial 10-GROUP CALL, this user will publish his stream and subscribe to remote streams.
The tutorial 12-GROUP CALL - ADVANCED shows you an advanced sample where user can choose to publish/subscribe streams.

Latency issue in iOS SDK Skype + At completion of connection defaul audio feed is mute

I am using iOS SDK Skype for Business following are my concerns.
Latency issue - It takes lots of time to connect the call even at good network also I am keeping video service on demand default connection is only for Audio feeds.
After call connected audio feed default set to muted, didChangeIsMuted delegate returns true (Mute). User has to manually press the button to unmute it.
Latest SDK Demo at url https://github.com/OfficeDev/skype-ios-app-sdk-samples/tree/master/BankingAppSwift is not compiling successfully. Few resource files are missing (Helper files).
The Meeting join only connects to IM and Audio. It does not enable Video by default. You have to explicitly start the video service one the meeting join in complete (Conversation moves to established state).
For Latency, can you give an estimate.. how long did it take to join the meeting?
We will look at this one and reply back.
Please use the Helper files from the SDK Zip package. They are not provided by default in the GitHub samples.

Auto create Private Unlisted live stream Event on YouTube

Every week I have to broadcast live Private event on YouTube. All settings always is identical.
Is any way to automate process of creating live event on YouTube web page with script or any app?
Ideally would be to start live stream without go to YouTube page every time.
Wirecast and OBS does not have option to create event inside the app. Only XSplit does but is on Windows.
There is lots of settings on multiple pages I have to go through every time before you press "Start Stream" button. Just trying to simplify that process in one click. I am on mac.
Any ideas?

Issues with Soundcloud iframe and YouTube iframe together

The Soundcloud widget works fine playing multiple tracks in succession. If I then hide that frame, play a youtube video in a youtube iframe, and then switch back to a new track in the Soundcloud widget, it loads but will not play (ignoring the autoplay setting and any widget.play() calls). I had this working on Chromecast with the developer preview SDK and the 1.0 cast receiver but now with the 2.0.0 receiver it's broken. Any ideas how to proceed?
Currently there is no supported mechanism in the SDK to play YouTube videos outside of the YouTube app. Note that in general, applications may not allow other senders launch or control their receiver side, for example Hulu+ may not like it if you wan to write your own app to launch and control that application on your Chromecast; if they decide to allow such model, they need to publish the steps (for example, they can publish their App ID and additional custom data that would link deep into their application). YouTube is no different in that respect.
ok, got this working so hopefully this is useful to others. Assuming only one is active and visible at a time, the trick is to destroy the prior widgets rather than try to reuse them. For YouTube this does not mean reloading the iframe_api but simply calling YTPlayer.destroy() and new YT.Player() next time around. For SoundCloud keep a handle of the iframe and then call iframe.parentNode.removeChild(iframe) to destroy and then create again next time.

Resources