Add media/oggreader

Start oggreader, this allows a user to demux an oggfile so they can
easily play files from disk.

Resolves: #1133

Co-authored-by: Somers Matthews <somersbmatthews@gmail.com>
Co-authored-by: funvit <funvit@gmail.com>
This commit is contained in:
Sean DuBois
2020-06-14 06:06:08 -05:00
parent cc8d80178c
commit bbbd820e15
6 changed files with 445 additions and 55 deletions

View File

@@ -21,8 +21,10 @@ pc.onicecandidate = event => {
}
}
// Offer to receive 1 audio, and 2 video tracks
// Offer to receive 1 audio, and 1 video track
pc.addTransceiver('video', {'direction': 'sendrecv'})
pc.addTransceiver('audio', {'direction': 'sendrecv'})
pc.createOffer().then(d => pc.setLocalDescription(d)).catch(log)
window.startSession = () => {