Add support HTTP JPEG and MJPEG sources
This commit is contained in:
+1
-1
@@ -794,7 +794,7 @@ func (c *Conn) bindTrack(
|
||||
return nil
|
||||
}
|
||||
|
||||
if track.Codec.IsMP4() {
|
||||
if !track.Codec.IsRTP() {
|
||||
switch track.Codec.Name {
|
||||
case streamer.CodecH264:
|
||||
wrapper := h264.RTPPay(1500)
|
||||
|
||||
Reference in New Issue
Block a user