How to disable SSL (https) streaming and force http streaming - youtube-iframe-api

I need to disable "https delivery of videos from YouTube player Api", is there a way to achieve "http streaming (No ssl)" from "googlevideo Domain" through an option of the "iframe player" or something else ?

Related

how to play http live streaming video URL in jwplayer on my https website?

I am newb for jwplayer.
I have issue to play http live streaming video URL on my https website.
I have following live streaming video URL
http://xyz.3da92.cdn.net/803DA92/abcd/v/RA/abcdxyz/play.m3u8?xyz
and my website like https://example.com with has jwplayer.
but when I have try to play live streaming
I am getting following:
Mixed Content: The page at 'https://example.com' was loaded over HTTPS,
I am not able to change live streaming video URL becuse it is third party URL So, I can't control it. And want to run my website on https.
So, My question is how to play http live streaming video URL on my https website?
Proxy the stream on your server to output https.

How does web browser know about what connection to open, HTTP or HTTPs?

After clearing the browser cache, cookies and web related data. I simply typed Gmail.com in the URL field of the web browser and I captured the packets in wireshark.
I found that the web browser initiated the request for Gmail.com with dest. port as 443 (HTTPS).
I want to know how the web browser got to know that the web site has to be opened in HTTPS mode. I thought it will be sending the request first to port 80 (HTTP) and then there will be some sort of redirect or another handshake.
That's because of Strict Transport Security. A special header is set by the website indicating that it should only be accessible over HTTPS. Try opening it in a new incognito window and it will open over HTTP.
Here's a guide how to clear HSTS in the major browsers. For example in Google Chrome you may try opening this url chrome://net-internals/#hsts and remove gmail.com from the HSTS cache.

Can HTTP Post be used for streaming live video to a server?

Can a client use HTTP Post to stream live video to a server? If not, what protocol should be used?
Yes it can, like in the case of the RTMPT protocol (Real Time Messaging Protocol tunneled over HTTP) which uses HTTP 1.1 POST to traverse firewalls.
Other HTTP streaming protocols include: HLS, DASH, HDS or Smooth.

Simple HTTP Proxy on Samsung TV

I'm writing an HTTP Live Streaming (HLS) player on Samsung TV. I need to implement an HTTP Proxy which receives every HTTP request sent by Samsung TV Player, modifies the request (by adding a proprietary HTTP header) & sends the modified request to the Media server. Is there a way to implement this type of simple HTTP Proxy on Samsung TV ?
Thanks
S R
There is no method to set up proxy in Samsung TV.
Are you doing a webapp? Or a dotnet app?
One idea is to override the XMLHttpRequest, so you will be able to add your header to all the requests.
Or maybe the setStreamingProperty from avplay doc

SoundCloud API redirecting to https stream URL

since a few days Soundcloud seems to be redirecting the stream urls all to https stream links. Since our project is reworking the soundcloud responses for streaming devices, which do not support streaming over https I want to find out how to get the http stream url.
It does not matter if I call https:// api.soundcloud.com/tracks/9479080/stream or http:// api.soundcloud.com/tracks/9479080/stream?
both versions redirect to a https streaming url. If I resolve the streaming URL before, it just does not work sometimes. (get http 401 error),
Please help

Resources