I have generated MP4 files of a live streaming done using Kurento Media Server 6.10. The saved file does play in the chrome and other browsers but do not play in Safari browsers.
The video to be played is being sent as a stream with response code as 206 (as required by safari browser
I have tried autoplay tag in . Have looked into the encoding of the video and it is a proper mp4 file.
I was not able to alter/code the moov atom metadata to the start of the video as stated here https://doc-kurento.readthedocs.io/en/6.10.0/knowledge/mp4.html#mp4-fast-start-in-kurento
Below is the code snippet which records my video.
RecorderEndpoint recorderEndpointA = new RecorderEndpoint.Builder(pipeline,"file:///tmp/recording.mp4").withMediaProfile(MediaProfileSpecType.MP4).build();
masterWebRtc.connect(recorderEndpointA);
//masterWebRtc is source, recorderEndpointA is sink
recorderEndpointA.record();
Modified from this code repo https://github.com/Kurento/kurento-tutorial-java/tree/master/kurento-one2one-call-recording
The video thus generated should be played as a streamed video over the internet on the page rendered in safari browsers.
I have uploaded one of such sample over here
https://drive.google.com/open?id=1YMnOMaJ1EQDHWezxkMY-JYHzKxmwO8H2