AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
507 stars 126 forks source link

Group by Quality and not Source? #201

Closed MoZyo closed 8 months ago

MoZyo commented 3 years ago

How can I group LLDash sources to quality instead?

I have setup a High, Normal, Low encoding and I'd like to display them as quality of LLDash instead. image image

Currently, I have this:

    player = OvenPlayer.create("player",{
        image : "image.png",
        sources: [
            {
            type : "DASH",
            file :  "https://domain/app/stream/manifest_ll.mpd",
            framerate : 30,
            label: "480p"
            },
            {
            type : "DASH",
            file :  "https://domain/app/stream_normal/manifest_ll.mpd",
            framerate : 30,
            label: "360p"
            },
        ]
    });

Can't seem to figure it out reading the guide.

Thanks in advance.

SangwonOh commented 3 years ago

@MoZyo Hi. A quality panel exists for ABR dash streams. Later, if OvenMediaEngine supports ABR, it will show multiple qualities in the quality panel using one source. Thanks.

Baa14453 commented 11 months ago

@MoZyo Hi. A quality panel exists for ABR dash streams. Later, if OvenMediaEngine supports ABR, it will show multiple qualities in the quality panel using one source. Thanks.

Is this still the case? Would be good if we had a way to group qualities and sources together for a more seamless user experience. If not, a way to hide the quality selector would be good too as it only ever has one entry at the moment: image

image

SangwonOh commented 8 months ago

Now OvenMediaEngine supports ABR. https://airensoft.gitbook.io/ovenmediaengine/transcoding#adaptive-bitrate-streaming-abr So you can make source panel display main, backup and quality panel display grouped qualities. Also We are closing the issue due to a long period of inactivity. If further discussion is needed, please open a new issue.