I am trying to make a website which will have this option to stream live from the logged in person's account. I mean that if a person wants to broadcast from his webcam, he ll just click on a button on the web page and streaming to the adobe media server will start. Is there a way to do this?
Related
I have a go HTTP server and a video tag in /watch.html.
How can I stream a video using MPEG-DASH when someone visits the watch page and display the video using Shaka Player in the browser?
I assume your visitors are using a web browser. Web browsers don't natively support playing MPEG-DASH. So you have to embed or reference a JavaScript based MPEG-DASH player.
You'll find many samples at https://reference.dashif.org/dash.js/nightly/samples/index.html
or you can also use the Shaka player:
https://github.com/shaka-project/shaka-player
I'm running a Telegram network where I post discounts from Amazon on a daily basis.
Now this is the problem: when I click on the links from my smartphone, they don't always open the Amazon app, but sometimes Telegram opens the page in its in-app browser. And that's a problem for me because users would never finalize a purchase by logging in again on Amazon from the Telegram browser - of course they go open the Amazon app and buy from there, and I get no commissions.
Now... is there some logic behind that? How does it work? I couldn't find a pattern for it: just sometimes it works, sometimes it doesn't. Sometimes the links open the Amazon app, sometimes they don't.
I used to shorten the links using Bit.ly, and thought it could be the problem (maybe the "amzn.to" wasn't recognized?), but nope, even using the long form links, sometimes it works and sometimes it doesn't.
Any idea?
Thank you.
Go to chat setting of Telegram and off the option to open in app link
I want to write a web app where if a user presses a certain button, it would cause the google nest in my room to say something.
Essentially I want to use an API to send this command to my google nest: "broadcast to bedroom speaker 'button has been pressed' ".
Is this possible with the Assistant / Home API / Actions? I'm reading the documentations, but it's hard to understand what they're capable of.
Yes, you can use Google Assistant Relay to relay broadcast messages the same as you would a broadcast message with your voice.
https://github.com/greghesp/assistant-relay
While a Google Home device is a Google Cast surface the platform does not support programmatic broadcasts. At the same time, casting audio that is the text-to-speech output to a device should be functionally the same.
Issue:
On several ios devices, after clicking on 'Sign-In' button within the iframe(having src as Power BI report 'Secure Embed Code'), a new window opens to sign in to Power BI and after successful sign in, the window closes. However, iframe does not get reloaded. A manual intervention to reload the page is required to view the report. This exists on several ios devices (irrespective of the browser chrome or safari).
Implementation:
We have a web application using Azure AD Authentication, in this web application, we are embedding the Power BI reports with the help of 'Secure Embed Code' in an iframe.
Current Workflow:
1) User sign in to the web application ->
2) Iframe (having secure embed code) is displayed with a Sign-In button ->
3) User clicks on 'Sign-In' button within the iframe ->
4) A new window opens for few seconds to log in to Power BI Services ->
5) This new window closes automatically after successful login to Power BI Service ->
6) Iframe reloads and report is displayed
This flow works fine for Windows and Android devices. However, for several ios devices, Step#6(Iframe reload) does not work.
I am aware of the limitation of 'Secure Embed code' as
Some browsers require you to refresh the page after sign-in, especially when using InPrivate or InCognito modes.
Refer Limitations section of link for details.
Required Functionality:
After sign-in to the application, before rendering of any iframe, a link should be provided which generates a new window and prompt user to sign in into the Power BI Services. After successful SignIn in the new window, a message should be passed to the previous window that 'signIn is successful' and the new window should be closed. Once our application receives this message 'signIn is successful', then the iframe should be rendered. This will help us resolve the issue that exists in ios devices.
Note: We do not want to use 'App Owns Data/User Owns Data' approach as these approaches require to purchase dedicated capacity for production.
Please suggest if this is possible and provide some reference as to how could we achieve this.
Or suggest if there is any other workaround to resolve the issue.
Any help will be greatly appreciated.
Thanks
Note: We do not want to use 'App Owns Data/User Owns Data' approach as these approaches require to purchase dedicated capacity for production.
No, this isn't true. You will need dedicated capacities if you use embed tokens (e.g. generated with GenerateTokenInGroup). You can embed reports with AAD tokens and keep using shared capacities (see tokenType property).
The inconvenience that you are trying to overcome comes from the way secure embedding is implemented. This is how this feature works. Microsoft didn't made it because they wanted to make it inconvenient for the users. They made it this way, because it wasn't possible or easy enough to implement it better. You have to either way for a while, until browsers changes or Microsoft updates this feature, or use proper embedding (user owns data scenario in your case).
I am trying to build a spiritual website for one company and they are planning to embed some videos in their website.
And they are requesting me to make their videos private as they don't want the users to download them as they are collecting some amount for the classes and they would like to give those videos at a particular time on the website for the registered users.
If we go for live streaming it's costing much so we are planning to host it on the same website and remove them after a period of time.
So I would like to know what is the best way to do this?
Consider using a combination of PayPal Subscriptions and Forms Authentication. Use the PayPal IPN to get the users status (if they're paid up or not) and associate this with the transaction ID and user ID.
They will only get access to the video class page if they are authenticated. At that point, you can retrieve their subscription status from the DB and grant them access if they are paid up. If not, provide a friendly message and link to PayPal.
ASP.NET PayPal Subscriptions IPN [caveat: own blog]
How to set up a Paypal Subscription
You may have to use profiles to store extra information per user. If this is the case and you are using ASP.NET WAP (2.0+), then use the following info to set that up:
ASP.NET Profiles in Web Application Projects
Serving videos in a website can be done using either streaming or progressive download. The latter is technically similar to any other download, i.e. if users find the video's URL, they can download it.
You can write client-side code for hashing a one-time token to try and obfuscate the URL of the video file, but essentially committed users can hack their way into the download URL.
Your other option is to use DRM, which will allow you to restrict playing the file even if downloaded. But that might actually cost you more than streaming. (It will also provide better protection of your video, as streamed videos can also be saved on users' computers if they know how to).