@@ -94,10 +94,10 @@ func GenerateConfig(cli *Cli) ([]byte, []byte, error) {
9494
9595 for _ , protocol := range conf .Config .Protocols {
9696 if protocol .Connector == "livepeer-api" && ! protocol .StreamInfoService {
97- protocol .RecordCatalystObjectStoreId = recordingBucketID
98- protocol .VODCatalystObjectStoreId = vodBucketCatalystID
97+ protocol .RecordCatalystObjectStoreID = recordingBucketID
98+ protocol .VODCatalystObjectStoreID = vodBucketCatalystID
9999 protocol .VODCatalystPrivateAssetsObjectStore = privateBucketID
100- protocol .VODObjectStoreId = vodBucketID
100+ protocol .VODObjectStoreID = vodBucketID
101101 protocol .CORSJWTAllowlist = fmt .Sprintf (`["%s"]` , cli .PublicURL )
102102 protocol .Ingest = fmt .Sprintf (
103103 `[{"ingest":"rtmp://%s/live","ingests":{"rtmp":"rtmp://%s/live","srt":"srt://%s:8889"},"playback":"%s/mist/hls","base":"%s","origin":"%s"}]` ,
@@ -155,11 +155,11 @@ func GenerateConfig(cli *Cli) ([]byte, []byte, error) {
155155 return out , []byte (sql ), nil
156156}
157157
158- func ObjectStore (userID , publicUrl , id , bucket string ) DBObject {
158+ func ObjectStore (userID , publicURL , id , bucket string ) DBObject {
159159 return DBObject {
160160 "createdAt" : 0 ,
161161 "id" : id ,
162- "publicUrl" : fmt .Sprintf ("%s/%s" , publicUrl , bucket ),
162+ "publicUrl" : fmt .Sprintf ("%s/%s" , publicURL , bucket ),
163163 "url" : fmt .Sprintf ("s3+http://admin:password@127.0.0.1:9000/%s" , bucket ),
164164 "userId" : userID ,
165165 "kind" : "object-store" ,
0 commit comments