add rtp profile for h264/h265
This commit is contained in:
parent
c59afb165b
commit
0d392159f3
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/avprofile.c b/src/avprofile.c
|
||||
index d488a41..d722556 100644
|
||||
--- a/src/avprofile.c
|
||||
+++ b/src/avprofile.c
|
||||
@@ -472,6 +472,8 @@ void av_profile_init(RtpProfile *profile)
|
||||
rtp_profile_set_payload(profile,31,&payload_type_h261);
|
||||
rtp_profile_set_payload(profile,32,&payload_type_mpv);
|
||||
rtp_profile_set_payload(profile,34,&payload_type_h263);
|
||||
+ rtp_profile_set_payload(profile,34,&payload_type_h264);
|
||||
+ rtp_profile_set_payload(profile,34,&payload_type_h265);
|
||||
|
||||
}
|
||||
|
|
@ -472,6 +472,8 @@ void av_profile_init(RtpProfile *profile)
|
|||
rtp_profile_set_payload(profile,31,&payload_type_h261);
|
||||
rtp_profile_set_payload(profile,32,&payload_type_mpv);
|
||||
rtp_profile_set_payload(profile,34,&payload_type_h263);
|
||||
rtp_profile_set_payload(profile,34,&payload_type_h264);
|
||||
rtp_profile_set_payload(profile,34,&payload_type_h265);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue