jgh- / VideoCore-Inactive

*No longer in development* Please see https://github.com/unpause-live/SwiftVideo
MIT License
1.48k stars 540 forks source link

RTMP Channel Multiplexing #131

Open loretoparisi opened 9 years ago

loretoparisi commented 9 years ago

Hi, I have one streaming channel on the server with given rtmp url. It would be possible to multiplex this channel in VideoCore for each streaming client?

loretoparisi commented 9 years ago

I have a guess. Since the RTMP packet is something like

public int PacketLength { get; set; } 
public int StreamId { get; set; } 
public MessageType MessageType { get; set; } 
public int MessageStreamId { get; set; } 
public int Timestamp { get; set; } 
public bool IsTimerRelative { get; set; }

It should be possible to use the MessageStreamId to multiplex the channel.