I want to detect if a given file on YouTube is broadcasted live. I have not found any information on this subject in the youtube api documentation. Is it possible at all?
Related
I am creating YouTube live broadcasts using YouTube live streaming API (by using PHP API client library) everything is working fine my question is can we also set thumbnails to that broadcast object using API so that on events page or watch page it shows our custom image right now its shows channel default image? If yes then please let us know how we can achieve that.
I have noted we can change thumbnail through website but i want to change it using PHP API client.
Thanks,
Faraz
I'm using Unity3D 5.3.5 to build my application. I'm using PHP7 to generate JSON APIs. I was trying to stream 360 videos on my Android app. So, I bought Easy Movie Texture plugin from the asset store. Now, I can play 360 degrees videos both locally and from my server. No Problem There!
However, I cannot find a way to access the direct link in a legal manner.
For example, a Youtube link https://www.youtube.com/watch?v=xxxxxxx would take you to a youtube page. But I am looking for a way to access the direct link like this one
https://r3---sn-4g57knrz.googlevideo.com/videoplayback?sparams=dur,ei,expire,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,requiressl,source,upn&id=o-AKELtsm___flI-ul3_x4DfHIoNWeQHQUOqjyrBF6eEDC&ip=27.34.106.98&ei=dcC3WJnWOsHKcrfjhLAI&requiressl=yes&pl=18&expire=1488458966&signature=2C08D077FAB84A30DFFE5472BD58539C44850FB2.73F0822B30B45C123589B6EB823612904BFEF35A&lmt=1488437275021563&beids=%5B9452307%5D&itag=22&key=cms1&mime=video%2Fmp4&ipbits=0&dur=118.166&source=youtube&ratebypass=yes&upn=yqEA5wXYUl4&cm2rm=sn-fapo3ox25a-3uhl7s,sn-25gz77z&req_id=11a107d03147a3ee&redirect_counter=2&cms_redirect=yes&mm=34&mn=sn-4g57knrz&ms=ltu&mt=1488439397&mv=m
I got the link through VLC Media Player's Network Stream feature. The problem with these links is that they expire and it isn't fully legal to access them as per this link:
how can get direct link from youtube video with youtube api v3
So, how on earth do I stream 360 degrees youtube video through my app in unity?
I want to create a website where each user can create/start live streaming.
But as I can see for now I can only create a stream for my own account. The one in which Youtube Data API is enabled. The one which secret keys are written in code. So I have no permissions to create live stream from someones account.
My question is if it is possible to do with Youtube API or not?
UPDATE
I found the way to add broadcast to user's account. But I can't understand how to tell user how to stream to created broadcast. He needs stream_key. (As I know...cause I use OBS software for windows and the only thing I need is stream_key to start streaming.
Never mind. I found out myself. If somebody has same question...
I need to choose Custom Streaming Server in OBS. And in this case I need URL and Stream Key. Which I can get from $streamsResponse['modelData']['cdn']['ingestionInfo']['streamName'] and $streamsResponse['modelData']['cdn']['ingestionInfo']['ingestionAddress']
This may be a bit more advanced than using OBS, but you could use Wowza's GoCoder livestreaming SDK to build a mobile app. Your subscribers/users can generate a livestream from their mobile phones > to Wowza Media Server > final stream target destination configured for You Tube live.
It works directly with the You Tube Live API.
i am trying to develop web application for video upload from website to youtube channel.
I have already created Client ID, Client secret and API Key.
But i don't know how to use it, also found tutorial on online but any time i unable to complete this script.
anybody have ready-made script, so i can complete my project.
YouTube's developers site has PHP video upload sample code here.
I am trying to upload video on youtube channel from my site(created in php), without user authentication. I am using "youtube v3 API".
Reference: https://developers.google.com/youtube/v3/
Reference: https://developers.google.com/youtube/v3/guides/authentication
But it requires user authentication for uploading.
Question1: Is there any way to upload video on youtube without user authentication?
Question2: I need to know how can we implement this by browser based uploading(i.e. upload directly on youtube server) ?
No, you cannot upload videos without user authentication.
It's not possible either. You need remote server so you could connect to YT.