10

I'm currently doing an iOS project that uses IJKPlayer which is based on FFmpeg and SDL to display RTSP feed from a certain source.

I have no problem in displaying a single video feed but my project requires me to display multiple stream on the screen simultaneously, the problem I'm facing right now is to separate each of the streams and display it on n number of instances of player.

RTSP -> stream 0, stream 1, stream 2, stream 4 -> display

Here is a sample output I want to achieve. Each color represents a single stream. Thanks!

enter image description here

Edit: If this is not possible on IJKPlayer, can someone recommend a different approach on how to implement this?

Community
  • 1
  • 1
Lysdexia
  • 453
  • 8
  • 22
  • what is the actual problem? if the number of feed is not fixed then just use a collection view and put your player inside each cell. – Parth Bhuva Mar 27 '17 at 14:25
  • problem is that a only have 1 url that contains multiple stream, if I put the player inside a collectionView wouldn't it make different instances and load repeatedly the same link? Probably it will. – Lysdexia Mar 27 '17 at 22:30

1 Answers1

0

See the QuickBlox SDK here: QuickBlox SDK. Does exactly what you need here.

igraczech
  • 2,408
  • 3
  • 25
  • 30
  • 1
    Nope. Sorry, the higher-ups does not want to use that SDK. – Lysdexia Mar 29 '17 at 06:39
  • This does not mean you can't use its architecture from example implementation of the video-calling client (I was using that to inject 3rd party video streams and add a face-tracking features to QuickBlox). – igraczech Mar 29 '17 at 09:05