File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/rtp_transceiver/rtp_receiver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
use super :: * ;
2
- use crate :: api:: media_engine:: MIME_TYPE_OPUS ;
2
+ use crate :: api:: media_engine:: { MIME_TYPE_OPUS , MIME_TYPE_VP8 } ;
3
3
use crate :: error:: Result ;
4
4
use crate :: peer_connection:: peer_connection_state:: RTCPeerConnectionState ;
5
5
use crate :: peer_connection:: peer_connection_test:: {
@@ -71,7 +71,7 @@ async fn test_set_rtp_parameters() -> Result<()> {
71
71
72
72
let outgoing_track: Arc < dyn TrackLocal + Send + Sync > = Arc :: new ( TrackLocalStaticSample :: new (
73
73
RTCRtpCodecCapability {
74
- mime_type : "video/vp8" . to_owned ( ) ,
74
+ mime_type : MIME_TYPE_VP8 . to_owned ( ) ,
75
75
..Default :: default ( )
76
76
} ,
77
77
"video" . to_owned ( ) ,
@@ -174,7 +174,7 @@ async fn test_rtp_receiver_set_read_deadline() -> Result<()> {
174
174
175
175
let track: Arc < dyn TrackLocal + Send + Sync > = Arc :: new ( TrackLocalStaticSample :: new (
176
176
RTCRtpCodecCapability {
177
- mime_type : "video/vp8" . to_owned ( ) ,
177
+ mime_type : MIME_TYPE_VP8 . to_owned ( ) ,
178
178
..Default :: default ( )
179
179
} ,
180
180
"video" . to_owned ( ) ,
You can’t perform that action at this time.
0 commit comments