Skip to content

Commit

Permalink
Backward compatibility with old Media Events
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolk99 committed Nov 7, 2024
1 parent 002c32f commit 76bff75
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions fishjam/peer_notifications.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ message PeerMessage {
string data = 1;
}

// Any type of WebRTC messages passed betweend FJ and peer
message MediaEvent {
string data = 1;
}

oneof content {
Authenticated authenticated = 1;
AuthRequest auth_request = 2;
media_events.peer.MediaEvent peer_media_event = 3;
media_events.server.MediaEvent server_media_event = 4;
RTCStatsReport rtc_stats_report = 5;
MediaEvent media_event = 3;
RTCStatsReport rtc_stats_report = 4;
media_events.peer.MediaEvent peer_media_event = 5;
media_events.server.MediaEvent server_media_event = 6;
}
}

0 comments on commit 76bff75

Please sign in to comment.