AirenSoft / OvenPlayer

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

modify player to get multi webrtc streaming. #140

Closed jys923 closed 4 years ago

jys923 commented 4 years ago

modify player to get multi webrtc streaming once Do you have any idea? Where should I start?

SangwonOh commented 4 years ago

@jys923 Hi. I wonder What actually means "get multi webrtc streaming once"?

Did you mean ?

  1. Get the multiple streams and plays them on one screen at the same time.
  2. Get the multiple streams and plays one of them by selecting stream.
jys923 commented 4 years ago

This is the case of filming one performance with multiple cameras and viewing videos from multiple angles at once. This is the case when one of several streams is played on one screen, and multiple streams are played simultaneously when selected.

SangwonOh commented 4 years ago

@jys923 Hi. How about loading multiple OvenPlayer that playbacks one angle and layouting the players as you want?

KIM-IN-KYUM commented 4 years ago

I think one ovenplayer make's multi video layout. Main video and side multi other video. Click side video change to main video. Can do that?

jys923 commented 4 years ago

thank's for answer client want like this 2020_08_18 오후 1_03 Office Lens

jys923 commented 4 years ago

I think one ovenplayer make's multi video layout. Main video and side multi other video. Click side video change to main video. Can do that?

i can not understand. can you talk more detail?

SangwonOh commented 4 years ago

Hi. Please note that one player cannot play multiple streams at once.

getroot commented 4 years ago

This is obviously not the player's role. This is the role of the web application. You can make this with 4 players, or use another method.

jys923 commented 4 years ago

Hi. Please note that one player cannot play multiple streams at once.

I know.. So I have to modify ovenPlayer. Direction of Approach Oven Player I ask you where to start researching.

SangwonOh commented 4 years ago

https://github.com/AirenSoft/OvenPlayer/blob/a9498ef8efc106d161ddc7182ba57c5ec5e903bb/src/js/api/media/Manager.js#L120 which create and manage html video elementcan be the starting point to modify the player to manage multiple video elements . But adding video elements in one OvenPlayer needs huge codes to implement. Closing this issue. By policy, one OvenPlayer plays one stream at the same time, so we can't support any additional features you want to implement.