I am not a technical background, experienced a lot of content aggregation of the app, such as "instant", "Pea pod list" and so on, but the form of these content is not real-time.
May I ask whether it is technically possible to automatically and in real time pull the contents of other people's live apps and play them in their own product frame (not interactive)? Can the technology be achieved without negotiation?
Also, wonder if the answer to this question is different for the mobile app or the web.
Thank you, hope my description can let you understand.
Reply content:
This is actually a kind of piracy. The core features of this approach are:
I do not spend the traffic fee, the user directly requests the server of the target platform when watching the video-that's why it's called "piracy" instead of "retransmission", and you're using someone else's money to make a fortune for yourself, while "retransmission" is your own fee, but the content comes from outside (and of course the retransmission should be legal). So it's easy to understand how angry they would be if third-party platforms found out you were doing so.
Moral aspects of the non-evaluation, single technically feasible, but there are some limitations.
The possible reasons are:
- At present, most of the technology of the live platform is using the RTMP (real-time Messaging Protocol) protocol to transmit (host) and receive the live stream (viewer side).
- These live platforms also use the HLS (HTTP live Streaming) protocol for live viewing in a mobile WEB environment
- Both of these agreements are open. The RTMP protocol originates from Adobe Inc., technical specifications see: Real-time Messaging Protocol (rtmp ) specification. The HLS protocol comes from Apple Inc., technical specifications see:https://developer.apple.com/streaming/
Further, the core elements of a live broadcasting system are mainly three parts:
- Capture-hosts use software such as OBS to record video and to send data to the server
- Retransmission-server uses software such as SRS/RED5 to receive data from the acquisition end and forward it to the playback side (audience)
- Playback-Essentially, a player, usually embedded in a Web page or App where viewers can watch
For the Pirates, you only need to implement the playback function. And how does playback come true? In fact, you can easily find an open source player that supports RTMP and HLS protocols. So the last step left is to grab the broadcast address of the live platform program. Note that this does not refer to the web address of the live program, but to the address specified in the program's underlying protocol, such as the RTMP protocol, which specifies that each program has an address that begins with a rtmp://, and that HLS has an address that has an HTTP/HTTP start for each program (HLS is actually based on the HTTPS protocol, so its section The address is an ordinary URL)
Yes, as long as you can crawl the video stream address of those live programs, and then find a player, you can play directly. This kind of scheme basically can steal the video resources of most domestic platform.
But there are a few platforms to do the guard, there are basically several types of precautionary approach:
- Instead of using RTMP and HLS, it is based on a self-developed open agreement, which greatly increases the difficulty of piracy (although these platforms are not intended to be anti-theft, but to achieve peer-to, low-latency, etc.)
- Stop you from getting the streaming address of the live video (with some effect, but there are many omissions) by technical means
- By analyzing the platform from which the requester originated the request, it is judged whether it is stolen (referer anti-theft chain mechanism like HTTP protocol can block low level piracy)
- Stop the theft by checking the login token (this can be an anti-theft killer for many of the mobile apps that sign in to see, but this is not good for a platform that doesn't need to be logged in to see a bucket of fish or pandas)
This is the case in terms of technology. Shake a clever ...
Embed an IFRAME page for the specified live stream
Safe and reliable pollution-free ... Theory can be difficult to actually
Have you ever seen QQ third-party clients or have you had a long life? There are already such apps on the market.