Coder Social home page Coder Social logo

The current version of the SRS-Stack, upon concluding a live stream, generates an M3U8 file for the live recording. This file cannot be played on Apple devices and the WeChat application for PC. about oryx HOT 5 OPEN

hjxsj avatar hjxsj commented on May 31, 2024
The current version of the SRS-Stack, upon concluding a live stream, generates an M3U8 file for the live recording. This file cannot be played on Apple devices and the WeChat application for PC.

from oryx.

Comments (5)

winlinvip avatar winlinvip commented on May 31, 2024

After the live broadcast is recorded, an MP4 file will be generated instead of streaming in HLS format.

TRANS_BY_GPT4

from oryx.

hjxsj avatar hjxsj commented on May 31, 2024

After recording a live broadcast, it was saved as an MP4 file, but the MP4 is slow to buffer when accessed. The HLS format streams in the folder can also be used. I have attempted this, and it seems likely that the issue with playback on Apple phones is due to cross-domain settings.

TRANS_BY_GPT4

from oryx.

hjxsj avatar hjxsj commented on May 31, 2024

I placed the following code
/www/server/nginx/conf
After adding the code under the http section in the nginx.conf file, it became viewable, but then it was not viewable on Apple phones during live streaming.

Allow cross-origin

    add_header 'Access-Control-Allow-Origin' '*';
    add_header 'Access-Control-Allow-Credentials' 'true';
    add_header 'Access-Control-Allow-Methods' '*';
    add_header 'Access-Control-Allow-Headers' '*';

TRANS_BY_GPT4

from oryx.

winlinvip avatar winlinvip commented on May 31, 2024

The MP4 format must be used; the HLS is merely a temporary file for preview purposes during recording.

However, I will take some time to look into the cross-domain issue.

TRANS_BY_GPT4

from oryx.

anandchristudas avatar anandchristudas commented on May 31, 2024

Is it possible to record a Live rstp stream from an IP camera directly on the SRS stack ?

from oryx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.