HLS live streaming subtitle?
I am using rtmp to broadcast streams to the server and using HLS to stream the video to my device. Is there a subtitle protocol that I can update the subtitle on real time, for example, there is a subtitle file in server, I can keep write into that file and my player also can keep read from that file. I know WebVTT works for recorded streaming video, but will it work for live streaming video? Can I link my player to the webVTT file and I can just update the subtitle by keeping writing to it?
You can use WebVTT to add subtitles to a live HLS stream. You do this by using a live subtitle playlist. It works just like a live playlist - you add and remove entries from it as time progresses. First create a master playlist and add a reference to your subtitle playlist (subtitles.m3u8) to it. Here’s a (simplified) example: #EXTM3U #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",URI="subtitles.m3u8",LANGUAGE="en" #EXT-X-STREAM-INF:BANDWIDTH=500000,RESOLUTION=1920x1080,SUBTITLES="subs" prog_index.m3u8 The next step is updating the subtitle playlist during the live broadcast. Let’s say your subtitle playlist looks like this initially: #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:1 #EXTINF:10, 1.webvtt #EXTINF:10, 2.webvtt #EXTINF:10, 3.webvtt Notice that the #EXT-X-ENDLIST tag is missing from the playlist. This will cause the player to keep retrieving the playlist. Then some time later (segment duration) it will look like this: #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:2 #EXTINF:10, 2.webvtt #EXTINF:10, 3.webvtt #EXTINF:10, 4.webvtt And so on. You’ll probably have to write some custom code to update the subtitle playlist.
Streaming webcam and mic inputs through browser
live555 streaming using ByteStreamMemoryBufferSource
mpeg dash live stream example [closed]
Live streamign using Kaltura and Wowza + FMLE
Real Time screen grabbing and streaming with libav-tools
Access camera at remote location on iphone
Hitbox Follower Alert
Take input from a live source instead of from a file in live555
How to implement streaming in ios app for webcam xcode project
what is the default wowza live stream name
How to create mfra box for ismv file if it is not present?
Live streaming a meeting between two places
Play and pause functions works only once
Streaming to an iPad [closed]
How does Http live streaming works?
Live streaming Flash video